Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Question for the Crafty/Compiler experts

Author: Dieter Buerssner

Date: 05:12:32 02/19/04

Go up one level in this thread


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



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.