1
0
Fork 0

Further reduce

gcc_bug
root 2015-01-10 14:05:41 +00:00
parent 63136b8c68
commit 9fbd8f4f72
1 changed files with 2 additions and 5 deletions

View File

@ -23,10 +23,7 @@ void Bitboards::init() {
for (Rank r = RANK_1; r < RANK_8; ++r)
InFrontBB[WHITE][r] = ~(InFrontBB[BLACK][r + 1] = InFrontBB[BLACK][r] | RankBB[r]);
for (Color c = WHITE; c <= BLACK; ++c)
for (Square s = SQ_A1; s <= SQ_H8; ++s)
{
PawnAttackSpan[c][s] = InFrontBB[c][rank_of(s)] & AdjacentFilesBB[file_of(s)];
}
PawnAttackSpan[0][0] = InFrontBB[0][0] & AdjacentFilesBB[7];
}