]> git.sesse.net Git - stockfish/commitdiff
Use arithmetic right shift for sign extension in MMX and SSE2 paths
authorFanael Linithien <fanael4@gmail.com>
Mon, 7 Dec 2020 13:46:29 +0000 (14:46 +0100)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sat, 12 Dec 2020 08:20:15 +0000 (09:20 +0100)
This appears to be slightly faster than using a comparison against zero
to compute the high bits, on both old (like Pentium III) and new (like
Zen 2) hardware.

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

No functional change.


No differences found