]> git.sesse.net Git - stockfish/commitdiff
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)
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>

No differences found