Author: Frank Phillips
Date: 05:56:27 02/19/04
Go up one level in this thread
On February 19, 2004 at 08:12:32, Dieter Buerssner wrote: >On February 18, 2004 at 20:45:32, Robert Hyatt wrote: > >>How are you testing? IE when I use intel's compiler, with PGO, the inline is >>faster here. Not significantly, but still faster... > >I used gcc without PGO (was too lazy to do the profile run). I added >-DINLINE_ASM to the CFLAGS and removed the asm= for the linux target. First I >had removed -DUSE_ASSEMBLY, but that didn't compile, because then the versions >in boolean.c would also be compiled. So, I added the DUSE_ASSEMBLY again (and >ignored the warning about static declaration follows extern declaration, which >IMO does not really matter). I did not use icc, because it says: > ># -INLINE_ASM Compiles with the Intel assembly code for FirstOne(), ># LastOne() and PopCnt(). This is for gcc-style inlining ># and thoroughly breaks the Intel C/C++ compiler at the ># present (version 8.0). ># > >in the Makefile. > >Regards, >Dieter Does it (LastOne()/FirstOne) work in gcc (version 3.3.1 Mandrake Linux 9.2 3.3.1-2mdk) on an AMD XP? I get very different node counts, for a fixed depth search, compared to the array lookup method. It does not seem to work at all on Intel 8.0 as you say. Could be a bug in my program of course, but I have not found it yet. There were two places I called LastBit() with an empty array, but this was harmless - and I changed it. Frank
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.