]> git.sesse.net Git - stockfish/commit
Introduce least_significant_square_bb()
authorbmc4 <bmc4@cin.ufpe.br>
Tue, 16 Mar 2021 19:51:31 +0000 (20:51 +0100)
committerStéphane Nicolet <cassio@free.fr>
Tue, 16 Mar 2021 19:54:52 +0000 (20:54 +0100)
commit939395729c78dd43816826ffdb0a61f33a833e9f
tree24eb5d075f8ac96af9a3b39d6fea7ceb5c23f3ba
parentf3b296c2e2061951d366edfbd5287f336e865553
Introduce least_significant_square_bb()

Introducing least_significant_square_bb(). It is a function that returns a value equal
to square_bb(lsb(bb)), but it uses fewer instruction. It should speed up more on older
processors like armv7-a Clang.

Passed STC:
LLR: 2.93 (-2.94,2.94) {-0.25,1.25}
Total: 213200 W: 19171 L: 18753 D: 175276
Ptnml(0-2): 680, 14513, 75831, 14861, 715
https://tests.stockfishchess.org/tests/view/604bc7632433018de7a38982

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

No functional change
src/bitboard.h
src/position.cpp