Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Benefits of arrays vs. bitboards?

Author: Dan Andersson

Date: 08:05:37 10/12/00

Go up one level in this thread


One of the big advantage of arrays are that they are IMO less platform
dependant, both performance- and porting- vise. Some argue that bitboards need
more precomputed data to exploit the bit level parallellism (even much more
data) and that incurs cashe trashing.Then there is the trick question what is a
bitboard? The Attack-Board is a bitboard implementation consisting of an array
of piece attack information one for each square of the board. On a thirty-two
bit cpu like the x86 that is a perfect fit (thirty-two pieces). But on a
sixty-four bit processor with a big cashe, fast memory and lots of general
purpose registers, sixty-four bit bitboards would be fast.



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.