Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Move generation question for the big boys

Author: Dominic C. Marcello

Date: 03:30:56 09/19/01

Go up one level in this thread


  As far as the penalty for using 64 bit bitboards on a 32 bit machine, with
intel's mmx registers on the Pent pro and later, the penalty can almost
disappear with a little inline assembly. Some instructions are not avallable for
use with the mmx registers though. For instand, bsr and bsf ( bit scan reverse
and forward) have no mmx instruction equivalent, but there is an mmx equivalent
for and, nand, or, xor (but not not), as well as left and right shifts. It's a
lot faster than treating the bitboard as two seperate double words, and if intel
would just add a bit scanning function to it, bitboards could be operated on
exclusively in the mmx registers.
There's also some newer instructions on the pent IV, one of which would allow
you to extract an 8 bit rank from a 64 byte board.



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.