Computer Chess Club Archives


Search

Terms

Messages

Subject: crafty 19.14 and G4

Author: Andreas Guettinger

Date: 01:48:38 06/30/04


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




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.