]> git.sesse.net Git - stockfish/commit
Simplify usage of LMR for captures
authorVizvezdenec <Vizvezdenec@gmail.com>
Wed, 19 May 2021 17:57:04 +0000 (20:57 +0300)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Wed, 19 May 2021 18:08:51 +0000 (20:08 +0200)
commit2c3f7619f9ef267cbaec5216b71e0e435dc1393b
tree002cdbe70db5478164f3169f889aebc0d7561ad8
parent6b9a70ace8073f5ff4c50b4dd5ddc041cf9c819f
Simplify usage of LMR for captures

This patch simplifies a lot of "enablers" for LMR when move is a capture or promotion.
After it we will have only 2 conditions - if node is a cutNode
or if it's an allNode that was not in PV,
so all captures or promotions wouldn't go thru LMR at any PVnodes.

passed STC
https://tests.stockfishchess.org/tests/view/60a40117ce8ea25a3ef03ca7
LLR: 2.95 (-2.94,2.94) <-2.50,0.50>
Total: 58976 W: 4875 L: 4807 D: 49294
Ptnml(0-2): 176, 3897, 21270, 3973, 172

passed LTC
https://tests.stockfishchess.org/tests/view/60a43ff8ce8ea25a3ef03d18
LLR: 2.93 (-2.94,2.94) <-2.50,0.50>
Total: 65272 W: 2203 L: 2165 D: 60904
Ptnml(0-2): 28, 1936, 28668, 1978, 26

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

bench 4110764
src/search.cpp