Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty 64-bit speedup

Author: Eugene Nalimov

Date: 10:11:36 03/26/04

Go up one level in this thread


On March 26, 2004 at 11:53:06, Robert Hyatt wrote:

>On March 26, 2004 at 02:03:56, Slater Wold wrote:
>
>>On March 26, 2004 at 01:54:44, Russell Reagan wrote:
>>
>>>On March 26, 2004 at 01:04:54, Slater Wold wrote:
>>>
>>>>Using /O2, /Ot, /Og:
>>>
>>>>Using /O2, /Ot, /Og:
>>>
>>>>(he used VC_INLINE_ASM & ASM_INLINED,
>>>>which my compiler cannot use).
>>>
>>>Why can't you add this to these options?
>>
>>The current AMD64 compilers don't support _asm.  It's all intrinsic functions.
>>But it does come with a macro assembler.
>>
>>>/D "VC_INLINE_ASM" /D "USE_ASSEMBLY"
>>>
>>>Also, how about /Ob2 (inline any suitable)? I also used /Oi (enable intristic
>>>functions) and /Oy (omit frame pointers).
>>
>>I used /Ob2.  Sorry.
>
>
>You don;t need inline with MSVC.  Eugene has crafty using intrinsics
>for BSF/BSR so the asm is not needed...

Early compiler versions generated suboptimal code for those intrinsics...

Thanks,
Eugene

>
>>
>>cl /D_CONSOLE /DWIN32 /O2 /Ot /Og /Ob2 /Oi /Oy:
>>
>>Total nodes: 89913841
>>Raw nodes per second: 2140805
>>Total elapsed time: 42
>>SMP time-to-ply measurement: 15.238095
>>
>>
>>I can however, squeeze 163k out of the 32-bit version.



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.