// Update pawn hash key and prefetch in L1/L2 cache
st->pawnKey ^= zobrist[us][PAWN][from] ^ zobrist[us][PAWN][to];
- prefetchPawn(st->pawnKey, threadID);
// Set en passant square, only if moved pawn can be captured
if ((to ^ from) == 16)
}
}
+ // Prefetch pawn and material hash tables
+ prefetchTables(st->pawnKey, st->materialKey, threadID);
+
// Update incremental scores
st->value += pst_delta(piece, from, to);