X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.cpp;h=e20c822f5998902ba2149d13504bd9846a1833d0;hp=40890acfd3b15e607211e137f889aa0ee3eef4b7;hb=a6d6a2c2fad093a47b575ee4cfb8d346ba037fb3;hpb=d490bb99734bd6e2f8a0a352d2f3f1ba264ece66 diff --git a/src/position.cpp b/src/position.cpp index 40890acf..e20c822f 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -827,7 +827,7 @@ void Position::do_move(Move m, StateInfo& newSt, bool givesCheck) { // Update pawn hash key and prefetch access to pawnsTable st->pawnKey ^= Zobrist::psq[pc][from] ^ Zobrist::psq[pc][to]; - prefetch(thisThread->pawnsTable[st->pawnKey]); + prefetch2(thisThread->pawnsTable[st->pawnKey]); // Reset rule 50 draw counter st->rule50 = 0;