]> git.sesse.net Git - stockfish/commit
Remove a local variable from pop_1st_bit()
authorMarco Costalba <mcostalba@gmail.com>
Sun, 23 Aug 2009 16:20:02 +0000 (17:20 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 23 Aug 2009 17:55:07 +0000 (18:55 +0100)
commitd1d44376994e356e0bc79ebb69607ef395ffa6e0
treee45fb48888a79c9866c7f92cf7300d4a7f75313e
parentba04eb0446f914eb0f477d64f0209f4b582a60af
Remove a local variable from pop_1st_bit()

Remove the 'b' uint32_t local variable.
Optimized assembly is more or less the same
(one 'mov' instruction less), but now it is
written in a way more similar to the final assembly
flow so it should be easier for compiler to optimize.

Also guarantee that BitTable[] is always aligned.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/bitboard.cpp