Remove a popcount for HinderPassedPawn
authorStéphane Nicolet <cassio@free.fr>
Fri, 27 Jul 2018 07:39:06 +0000 (09:39 +0200)
committerStéphane Nicolet <cassio@free.fr>
Fri, 27 Jul 2018 13:23:57 +0000 (15:23 +0200)
commite12fc10b5cf4ac1518a18a54c4e368ef2dc55bfc
tree253d38359df323f728054a7b77a61fa16ecabb07
parent313f4037339142f0c3488f511c57ca7a400ea8a5
Remove a popcount for HinderPassedPawn

Remove a popcount for HinderPassedPawn, and compensate by doubling
 the bonus from S(4,0) to to S(8,0).

Maybe it was pure luck, but we got the idea of this Elo gaining patch by
seing the simplification attempt by Mike Whiteley in pull request #1703.
This suggests that whenever we have a passed evaluation simplification,
we should consider the possibility that the master bonus has become
slightly out of tune with time, and we should try a few Elo gaining [0..4]
tests by hand-tuning the master bonus.

STC:
LLR: 2.95 (-2.94,2.94) [0.00,4.00]
Total: 19136 W: 4388 L: 4147 D: 10601
http://tests.stockfishchess.org/tests/view/5b59be6f0ebc5902bdb8ac06

LTC:
LLR: 2.96 (-2.94,2.94) [0.00,4.00]
Total: 99382 W: 17324 L: 16843 D: 65215
http://tests.stockfishchess.org/tests/view/5b59d2410ebc5902bdb8afa8

Closes https://github.com/official-stockfish/Stockfish/pull/1710

Bench: 4688817
src/evaluate.cpp