summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9d3a2ec)
STC
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 14844 W: 3347 L: 3212 D: 8285
http://tests.stockfishchess.org/tests/view/
5d3a2d7b0ebc5925cf0f1632
LTC
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 55261 W: 9374 L: 9309 D: 36578
http://tests.stockfishchess.org/tests/view/
5d3a3d9e0ebc5925cf0f1786
Closes https://github.com/official-stockfish/Stockfish/pull/2257
bench:
3484124
constexpr Color Them = (Us == WHITE ? BLACK : WHITE);
constexpr Direction Up = (Us == WHITE ? NORTH : SOUTH);
constexpr Color Them = (Us == WHITE ? BLACK : WHITE);
constexpr Direction Up = (Us == WHITE ? NORTH : SOUTH);
- Bitboard b, neighbours, stoppers, doubled, support, phalanx;
+ Bitboard neighbours, stoppers, doubled, support, phalanx;
Bitboard lever, leverPush;
Square s;
bool opposed, backward, passed;
Bitboard lever, leverPush;
Square s;
bool opposed, backward, passed;
- // Penalize the unsupported and non passed pawns attacked twice by the enemy
- b = ourPawns
- & doubleAttackThem
- & ~(e->pawnAttacks[Us] | e->passedPawns[Us]);
- score -= WeakLever * popcount(b);
+ // Penalize our unsupported pawns attacked twice by enemy pawns
+ score -= WeakLever * popcount( ourPawns
+ & doubleAttackThem
+ & ~e->pawnAttacks[Us]);