Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: crafty ppc64

Author: Andreas Guettinger

Date: 06:16:00 09/03/04

Go up one level in this thread


On September 02, 2004 at 19:36:30, William Bryant wrote:

>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

I was referring to the arrays first_one[65536] and last_one[65536] that are not
needed when asm code for firstone() and lastone() ist present.

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.