Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Reverse Bitboards

Author: Sander de Zoete

Date: 16:23:38 01/14/03

Go up one level in this thread


Thanks Gerd,

I also did some searching myself on the web. I ended up with a website where
SIMD was explained together with MMX,SSE,MAJC, etc. Then I also managed to
download the instruction sets from all these processor technologies. Can I use
these like this in Cplusplus (Borland)

I really see a lot of potential here.

// Put BITBOARD a into MMX
void SetBitboardIntoMMX(BITBOARD a, unsigned int b)
{
    asm
    {
        movq a

    }
   // Shift a with value b to the right
    asm
   {
       psrlw a, b

   }
}
Will something like this work?

In an example a was represented by mm5 (probably the 6th memory space in MMX
(mm0 - mm7 if I recall correctly). How do I know what is in mm5?

Sander.



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.