Remove Condition from Generate_Move Loop
authorbmc4 <bmc4@cin.ufpe.br>
Sun, 10 Jan 2021 06:30:40 +0000 (03:30 -0300)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Mon, 11 Jan 2021 17:41:47 +0000 (18:41 +0100)
commit4d30438400932d18c095a8b85c3e51789d5f0feb
tree06bd3e2d1758a66835c263bc04050f1594c43b40
parentc4d67d77c99b99c9ac387ab622773a320f8d5cc3
Remove Condition from Generate_Move Loop

it seems it's faster to handle blockers_for_king(~Us) outside loops

Passed STC:
LLR: 2.96 (-2.94,2.94) {-0.25,1.25}
Total: 22184 W: 2063 L: 1919 D: 18202
Ptnml(0-2): 63, 1485, 7855, 1623, 66
https://tests.stockfishchess.org/tests/view/5ffbee2f6019e097de3ef18d

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

No functional change
AUTHORS
src/movegen.cpp