Author: Carey
Date: 16:42:49 09/06/05
Go up one level in this thread
On September 06, 2005 at 19:34:09, Pham Hong Nguyen wrote: >Thank Dann for fast answer :) > >However, that is also what I have found, but not what I have been missing: >64-bit shift, plus, minus instructions :( That's inherent in the normal C operations when working with 64 bit data types. (WPawns << 8) shifts the whole bitboard 8 squares left (or one row up.) And so on. There are no special instructions. It's just normal C code. The compiler generates that code. Even for 32 bit systems, most compilers will have 64 bit unsigned integers, which is what gets used for a bitboard.
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.