]> git.sesse.net Git - stockfish/commit - src/movegen.cpp
Simplify promotion move generator
authorbmc4 <bmc4@cin.ufpe.br>
Mon, 7 Jun 2021 18:47:37 +0000 (15:47 -0300)
committerStéphane Nicolet <cassio@free.fr>
Tue, 8 Jun 2021 18:16:20 +0000 (20:16 +0200)
commit785b70809783430ff1e0bf856dac3b9bfa6fe826
treee95755567e4afde4b6b22c38c2455a672458c6b8
parent999e142c548f61852ace7b8f025d71bc8a805e3c
Simplify promotion move generator

This patch removes Knight promotion checks from Captures. As a consequence,
it also removes this underpromotion from qsearch.

STC:
LLR: 2.93 (-2.94,2.94) <-2.50,0.50>
Total: 37776 W: 3113 L: 3023 D: 31640
Ptnml(0-2): 103, 2419, 13755, 2507, 104
https://tests.stockfishchess.org/tests/view/60be6a06457376eb8bcaa775

LTC:
LLR: 2.93 (-2.94,2.94) <-2.50,0.50>
Total: 39760 W: 1257 L: 1203 D: 37300
Ptnml(0-2): 11, 1079, 17646, 1133, 11
https://tests.stockfishchess.org/tests/view/60beb972457376eb8bcaa7c5

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

Bench: 5530620
src/movegen.cpp
src/search.cpp