Simplify tropism computation
authorStéphane Nicolet <cassio@free.fr>
Tue, 27 Feb 2018 18:10:40 +0000 (19:10 +0100)
committerStéphane Nicolet <cassio@free.fr>
Tue, 27 Feb 2018 18:10:40 +0000 (19:10 +0100)
commitde642f16db0c443de2dc0ddf7b06c0a7d1c5b8b7
treeecce03d29d4f55648092c34755094f6ad096f5e2
parentcccbecb6f8de4e34d8856f121760b74185987d8e
Simplify tropism computation

Simplification. Tests show that the "shift-and-superpose" trick is no longer
necessary. The speed benefit of avoiding a popcount is no longer relevant
on modern machines.

Passed STC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 41675 W: 9168 L: 9086 D: 23421
http://tests.stockfishchess.org/tests/view/5a840bcc0ebc590297cc80b5

Passed LTC:
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 117728 W: 19875 L: 19911 D: 77942
http://tests.stockfishchess.org/tests/view/5a8444800ebc590297cc80ca

No functional change.
src/evaluate.cpp