]> git.sesse.net Git - stockfish/commitdiff
Small update to pop_1st_bit()
authorMarco Costalba <mcostalba@gmail.com>
Tue, 10 Nov 2009 07:55:52 +0000 (08:55 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 10 Nov 2009 16:18:00 +0000 (17:18 +0100)
Avoid a 64 bit load using a pointer. It saves a couple of push/pop
instructions so advantage is only theorical, but anyway we use
pop_1st_bit() as a reference implementation for 32 bit systems so
we keep it more for documentation purposes then for other reasons.

Idea of pointer is of Eric Mullins.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found