Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Question for the Crafty/Compiler experts

Author: Robert Hyatt

Date: 13:28:20 02/15/04

Go up one level in this thread


On February 15, 2004 at 16:10:55, Dann Corbit wrote:

>On February 15, 2004 at 15:45:02, Slater Wold wrote:
>
>>My setup:
>>
>>AMD FX 51
>>Windows 2003 Enterprise (64 bit)
>>Intel 8.0 Compiler
>>
>>
>>Why would compiling Crafty 19.10 be 15% slower when defining /DVC_INLINE_ASM &
>>/DUSE_ASSEMBLY?

Wrong options.

-DINLINE_AMD is what you want.  But then you are doing the wrong thing anyway,
as intel doesn't produce 64 bit code.  You will do better to either get a 64 bit
version of MSVC, or install/build GCC for the AMD64 architecture...  However,
the inlineamd.h file might not work with intel for 32 bit architectures.  It
won't know about 64 bit bsf/bsr instructions...

>>
>>Has anyone else ever seen that?
>
>It may mean that the compiler generated better assembly than you did.
>
>It may also mean that you pulled in the wrong assembly.  Old x86 assembly will
>run on the AMD opteron type systems.  It is the new stuff that will really be
>snappy.



This page took 0.01 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.