mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
Simplify HalfKAv2_hm::write_indices()
https://tests.stockfishchess.org/tests/view/69bb1fafd7d60419badf31a3 LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 116544 W: 30024 L: 29895 D: 56625 Ptnml(0-2): 317, 12875, 31729, 13064, 287 closes https://github.com/official-stockfish/Stockfish/pull/6677 No functional change
This commit is contained in:
@@ -36,13 +36,6 @@ namespace {
|
||||
|
||||
#if defined(USE_AVX512ICL)
|
||||
|
||||
// clang-format off
|
||||
const __m512i AllSquares = _mm512_set_epi8(
|
||||
63, 62, 61, 60, 59, 58, 57, 56, 55, 54, 53, 52, 51, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41,
|
||||
40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18,
|
||||
17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0);
|
||||
// clang-format on
|
||||
|
||||
template<Direction offset>
|
||||
inline Move* splat_pawn_moves(Move* moveList, Bitboard to_bb) {
|
||||
assert(popcount(to_bb) <= 8); // <= 8 pawns per side
|
||||
|
||||
Reference in New Issue
Block a user