]> git.sesse.net Git - stockfish/commit
Unroll least valuable attacker loop in SEE
authorMarco Costalba <mcostalba@gmail.com>
Sat, 1 Sep 2012 09:45:14 +0000 (11:45 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 1 Sep 2012 16:57:38 +0000 (18:57 +0200)
commit9cdca7516c9397f991b2c0194f5de1ade26622e8
tree1372fe8e44aa70d2cd9cd61cb525324f76434bc2
parent6436e75858f02d42df72243461c8a5f8bc7cb695
Unroll least valuable attacker loop in SEE

This allows to reduce the scanning for new X-ray attacks
according to the capturing piece type.

It seems to be just a very small speed increase in MSVC 64
bit and gcc 32 bit, I guess cache issues value more than some
instruction less to execute (as usual).

No functional change.
src/position.cpp