Optimize pop_1st_bit() on 32 bits x86
authorMarco Costalba <mcostalba@gmail.com>
Thu, 18 Sep 2008 14:09:19 +0000 (16:09 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Thu, 18 Sep 2008 14:09:19 +0000 (16:09 +0200)
commit9ae2b6923504064da184d08b888fffb328818543
tree27f9dc2f760922497fc8c4ece7d24911f9ce7c1b
parent95ce27f9262b63ce8eb611965e5cbc16bae815ad
Optimize pop_1st_bit() on 32 bits x86

Operations on 64 bits Bitboard types are slow
on x86 compiled with gcc, so optimize this case.

BTW profiling shows that pop_1st_bit() is a
veeery performance critical path!

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