Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Question for the Crafty/Compiler experts

Author: Robert Hyatt

Date: 17:43:44 02/18/04

Go up one level in this thread


On February 18, 2004 at 17:22:29, Dann Corbit wrote:

>On February 17, 2004 at 20:47:37, Robert Hyatt wrote:
>[snip]
>>I can at least answer that question.  _Every_ time I have compared the asm to
>>any C implementation of those functions, the asm has won _every_ time.  In
>>Crafty.  I'll mention that for PopCnt() my bitboards are sparsely populated when
>>I do a PopCnt().  I have _never_ found any C code that will out-perform the old
>>X86.s code.  My new inlinex86.h stuff is not the most efficient because I did it
>>in a hurry, but it is actually a bit faster because it inlines with dynamic
>>register names...
>>
>>I have dumped the old X86.s completely now, since the inline asm is faster.
>
>Maybe it is worth another measurement.  I would also be interested to know what
>the speed difference is when you use inline assembly or not with the AMD64 CPU.


AMD opteron was only 2-3% faster with asm than without...




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.