]> git.sesse.net Git - stockfish/commit
Further speed up bitbase generation
authorMarco Costalba <mcostalba@gmail.com>
Fri, 15 Feb 2013 07:56:04 +0000 (08:56 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 15 Feb 2013 10:58:33 +0000 (11:58 +0100)
commite0dfb0bc34dfd6bdb055a7f5779e7a61e2d76dd6
treee628803f6797576921d17970fbc857bf64d21826
parent10d29add187fbc7ce20535a2beddc76e4a8ad0c2
Further speed up bitbase generation

Another trick, along the same lines of previous
patch. This time we first check positions with
white side to move that, becuase we start with
pawn on rank 7, are easily classified as wins,
then black ones.

Number of cycles reduced to 15 !

Becuase now it is faster we can remove a lot of
code to detect theoretical draws. We will calculate
them anyhow, although a bit slower, but the speed
up trick more than compensates it.

Verified that generated bitbases match original ones.

No functional change.
src/bitbase.cpp
src/bitboard.h
src/endgame.cpp