From 15e21911110f9d459c4fef2bb17903d97345d0b9 Mon Sep 17 00:00:00 2001 From: joergoster Date: Mon, 6 Oct 2014 23:59:04 +0800 Subject: [PATCH] Remove the now redundant TT prefetch call from Position::do_move. Tested for no regression and passed both STC LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 48250 W: 9757 L: 9686 D: 28807 LTC LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 51412 W: 8887 L: 8816 D: 33709 No functional change. Resolves #66 --- src/position.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/position.cpp b/src/position.cpp index b7baeb6b..cbaa07e8 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -807,9 +807,6 @@ void Position::do_move(Move m, StateInfo& newSt, const CheckInfo& ci, bool moveI st->castlingRights &= ~cr; } - // Prefetch TT access as soon as we know the new hash key - prefetch((char*)TT.first_entry(k)); - // Move the piece. The tricky Chess960 castling is handled earlier if (type_of(m) != CASTLING) move_piece(from, to, us, pt); -- 2.39.2