Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: crafty 19.14 and G4

Author: Robert Hyatt

Date: 12:20:18 06/30/04

Go up one level in this thread


On June 30, 2004 at 04:48:38, Andreas Guettinger wrote:

>To compile crafty-19.14 on my PowerMac G4 I had to change the following line
>back in the file boolean.c:
>
>#if defined(ALPHA) && !defined(PopCnt)
>
>into
>
>#if (!defined(INLINE_ASM) && !defined(ALPHA)) || (defined(ALPHA) &&
>!defined(PopCnt))
>
>or else there is no popcnt, firstone, lastone.
>Because obvioulsy Macs do not read INLINE_ASM and are not ALPHAs.
>
>OR
>
>Maybe somebody cares to write G4 and G5 versions of popcnt, firstone, lastone (I
>think magic bitscan runs quite good on the powerpc), makes an #if defined
>powerpc and sends the file to Hyatt.
>:)
>
>regards
>Andy


I just made this change so it will be fixed in 19.15...

Thanks..

Bob




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.