]> git.sesse.net Git - stockfish/commit
Use Bitboard over Square in movegen
authorbmc4 <bmc4@cin.ufpe.br>
Fri, 5 Mar 2021 11:57:43 +0000 (08:57 -0300)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 7 Mar 2021 20:16:38 +0000 (21:16 +0100)
commitb74274628c052cc910e36202b88bc5f81724d78c
treec28fe8085bf073a64bfc6020f258c514361c1ada
parent5346f1c6c72e46d66bb4c21259f8c06096c63034
Use Bitboard over Square in movegen

It uses pos.checkers() on target when movegen is the type of EVASION.
It simplify the code. And it's also expected a slightly speed up,
because Bitboard is more direct when doing bitwise.

Passed STC:
LLR: 2.93 (-2.94,2.94) {-1.25,0.25}
Total: 28176 W: 2506 L: 2437 D: 23233
Ptnml(0-2): 80, 1904, 10063, 1949, 92
https://tests.stockfishchess.org/tests/view/60421d18ddcba5f0627bb6a9

Passed LTC:
LLR: 2.93 (-2.94,2.94) {-0.75,0.25}
Total: 9704 W: 402 L: 341 D: 8961
Ptnml(0-2): 3, 279, 4230, 334, 6
https://tests.stockfishchess.org/tests/view/60422823ddcba5f0627bb6ae

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

No functional change
src/movegen.cpp