X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.cpp;h=5b3fa8b60c43cd326dccdf57e3ecebfad48a4880;hp=380c5985c1603ac50afc4a616673998f1e9ac83c;hb=7618ee2df1e4e5a3fa6cd511cc42545a255eb9d2;hpb=990d83a72d430aef47151a1ff39e5f97ee14618a diff --git a/src/bitboard.cpp b/src/bitboard.cpp index 380c5985..5b3fa8b6 100644 --- a/src/bitboard.cpp +++ b/src/bitboard.cpp @@ -1,7 +1,7 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) - Copyright (C) 2008-2009 Marco Costalba + Copyright (C) 2008-2010 Marco Costalba, Joona Kiiski, Tord Romstad Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -297,8 +297,8 @@ void init_bitboards() { #if defined(IS_64BIT) && !defined(USE_BSFQ) -CACHE_LINE_ALIGNMENT -static const int BitTable[64] = { +static CACHE_LINE_ALIGNMENT +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, 46, 29, 48, 10, 31, 35, 54, 21, 50, 41, 57, 63, 6, 12, 18, 24, 27, 33, 39, 16, 37, 45, 47, 30, 53, 49, 56, 62, 11, 23, 32, 36, 44, 52, 55, 61, 22, 43,