]> git.sesse.net Git - stockfish/commit
Remove old zobrist trick for castling rights
authormstembera <MissingEmail@email>
Fri, 26 Jun 2020 05:08:17 +0000 (22:08 -0700)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 28 Jun 2020 20:00:19 +0000 (22:00 +0200)
commit547c4a216a9931e4d5ff95414f146cb6eb877611
treeca0cf735405480f1220ba6e21aed46723e74b4f2
parentde24fcebc873ce2d65b30e039745dbc2e851f443
Remove old zobrist trick for castling rights

Removes an 8 year old micro optimization aimed at 32-bit architectures
because back then doing an xor of a Key could not be done in one instruction.
See original commit here 821e1c7

STC https://tests.stockfishchess.org/tests/view/5ef5833dde213bf647527d0c
LLR: 2.94 (-2.94,2.94) {-1.50,0.50}
Total: 162648 W: 31053 L: 31097 D: 100498
Ptnml(0-2): 2841, 18966, 37715, 19000, 2802

LTC https://tests.stockfishchess.org/tests/view/5ef7b1bbf993893290cc1489
LLR: 2.93 (-2.94,2.94) {-1.50,0.50}
Total: 62360 W: 7617 L: 7586 D: 47157
Ptnml(0-2): 423, 5662, 18994, 5663, 438

closes https://github.com/official-stockfish/Stockfish/pull/2775

bench: 4591425
src/position.cpp