Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: crafty ppc64

Author: William Bryant

Date: 16:36:30 09/02/04

Go up one level in this thread


On September 02, 2004 at 08:27:52, Andreas Guettinger wrote:

>On September 01, 2004 at 20:58:25, Frank E. Oldham wrote:
>
>>Hi Andy,
>>some changes you might not have:
>>
>>=====================================================
>>in data.c -- "&& !defined(INLINE_PPC)" should be added, as follows:
>>
>># if (!defined(_M_AMD64) && !defined(INLINE_ASM) && !defined(INLINE_PPC)) ||
>>defined(VC_INLINE_ASM)
>>unsigned char first_one[65536];
>>unsigned char last_one[65536];
>># endif
>
>Right, and also to data.h for the extern declarations.
>
>>in init.c --  "&& !defined(INLINE_PPC)" should be added, as follows:
>>
>>#if !defined(CRAY1) && !defined(_M_AMD64) && !defined(INLINE_ASM) &&
>>!defined(INLINE_PPC)
>
>Looks good, because we don't have first_one[] and last_one[] anymore. I've no
>idea what Initializezeromask() does, though, and why there is a difference for
>INLINE and normal.

I think I am behind the times.

Why doesn't the G5 have a firstOne or lastOne function.
Has the PPC instruction cntlzw been dropped?

William


>
>Thanks for pointing this out. Maybe these changes can be included to the files I
>sent already?
>
>When I look at the crafty code and see all the #defines and #if defined stuff, I
>realized how much work it takes to make this thing run on all the different
>platforms. :)
>
>regards
>Andy



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.