Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Question for the Crafty/Compiler experts

Author: Robert Hyatt

Date: 10:30:09 02/16/04

Go up one level in this thread


On February 16, 2004 at 13:13:33, J. Wesley Cleveland wrote:

>On February 15, 2004 at 16:28:20, Robert Hyatt wrote:
>
>>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...
>
>Did Eugene write equivalent routines for 64 bit windows and are they available?

Not needed.  The 64 bit MSVC compiler has built-in intrinsics for accessing the
bsf/bsr stuff.  They are already in the Crafty source, when the 64 bit MSVC
compiler is available for AMD64.



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.