Author: Robert Hyatt
Date: 08:00:40 10/04/02
Go up one level in this thread
On October 03, 2002 at 14:50:23, Bo Persson wrote:
>On October 01, 2002 at 08:19:31, Vincent Diepeveen wrote:
>
>> you need loads of inline assembly for nearly any architecture
>>to keep going and you need a 64 bits processor to not be 2 times slower
>>than a non-bitboarder.
>>
>
>Do you want to see how much asm I need for a bitboard program?
>
>Here it is, in its entirety:
>
> // Assembly helpers
>
>// warning C4035: 'BSR' : no return value
>#pragma warning(disable : 4035)
>
> inline unsigned BSR(unsigned Bits)
> { __asm bsr eax,[Bits] }
>
> inline unsigned BSF(unsigned Bits)
> { __asm bsf eax,[Bits] }
>
>#pragma warning(default : 4035)
>
>
>
>That's it!
>
>
>Bo Persson
>bop2@telia.com
You are absolutely wasting time in this argument. From experience. Vincent
will be happy
to tell you all the reasons why something can't be done, whether those reasons
are right or
wrong. Arguing is similar to trying to hold back a flood by using a teacup for
a dipper.
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.