Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty: how to shift bitboard on 32 bit computer?

Author: Robert Hyatt

Date: 18:00:35 09/06/05

Go up one level in this thread


On September 06, 2005 at 19:18:40, Pham Hong Nguyen wrote:

>I have been studying the bitboard code of Crafty. I found the code for popcnt,
>first_one, last_one... but did not find out the code of implementing
>64-bit-shift, plus, minus instructions for 32 bit computer.
>
>Could someone show me what I am missing? Thanks.


You let the compiler handle that by using a software-enabled 64 bit data type
like "long long".



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.