Enable _BitScanForward64 at runtime

Only add infrastructure, still disabled.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2009-05-24 09:46:43 +01:00
parent ce5d9eb19d
commit f90f810ac4
3 changed files with 26 additions and 2 deletions

View File

@@ -340,7 +340,7 @@ Square pop_1st_bit(Bitboard *b) {
#endif
#else
#else // defined(USE_FOLDED_BITSCAN)
static const int BitTable[64] = {
0, 1, 2, 7, 3, 13, 8, 19, 4, 25, 14, 28, 9, 34, 20, 40, 5, 17, 26, 38, 15,