]> git.sesse.net Git - stockfish/commit
A move needs 17 bits not 19
authorMarco Costalba <mcostalba@gmail.com>
Sun, 29 Mar 2009 16:22:10 +0000 (17:22 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 29 Mar 2009 16:23:41 +0000 (17:23 +0100)
commit9e44a6dba9718b74a64656ae7801a62946c3b725
tree5903a89bc514885adda5b6267ad12b3316fbf692
parent941f4e1643edbdf28118a47d0277747bb358d3ad
A move needs 17 bits not 19

Fix a bug in the way a move is stored and read in a TT entry.
We use a mask of 19 bits insteaad of 17 so that the last
two bits in the TT entry end up to be random data.

This bug will bite us when we will use these two until now
unused bits.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/tt.cpp
src/tt.h