UnMakeMove
Posted: 29 Sep 2006, 21:05
Hi -
I am rewriting my program (from scratch alas) and want to
consider (and will test) two types of UnMakeMove.
The first UnMakeMove will do the normal things, downdating
the piece location words (all bitboard).
The second UnMakeMove would simply restore the Board
which consists of the 12 64-bit words, and any other relevant
data, via copying, or changing a link-pointer.
My question is if others have tested the above two ideas
with a bitboard program.
Does removing N IF's, M AND's, and O OR's cost more or
less than copying say 12-20 64-bit words where N, M, and O
are non-trivial numbers say around 5-10.
I'll do the test both ways.
Stuart
I am rewriting my program (from scratch alas) and want to
consider (and will test) two types of UnMakeMove.
The first UnMakeMove will do the normal things, downdating
the piece location words (all bitboard).
The second UnMakeMove would simply restore the Board
which consists of the 12 64-bit words, and any other relevant
data, via copying, or changing a link-pointer.
My question is if others have tested the above two ideas
with a bitboard program.
Does removing N IF's, M AND's, and O OR's cost more or
less than copying say 12-20 64-bit words where N, M, and O
are non-trivial numbers say around 5-10.
I'll do the test both ways.
Stuart