]> git.sesse.net Git - stockfish/commitdiff
Remove the now redundant TT prefetch call from Position::do_move.
authorjoergoster <osterj165@googlemail.com>
Mon, 6 Oct 2014 15:59:04 +0000 (23:59 +0800)
committerGary Linscott <glinscott@gmail.com>
Mon, 6 Oct 2014 15:59:56 +0000 (23:59 +0800)
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

index b7baeb6b77d248128893fae25a411638d2805382..cbaa07e86e6c7925aa810347fc63688f63810252 100644 (file)
@@ -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);