mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
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
This commit is contained in:
parent
8a9b9ec96a
commit
15e2191111
1 changed files with 0 additions and 3 deletions
|
@ -807,9 +807,6 @@ void Position::do_move(Move m, StateInfo& newSt, const CheckInfo& ci, bool moveI
|
||||||
st->castlingRights &= ~cr;
|
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
|
// Move the piece. The tricky Chess960 castling is handled earlier
|
||||||
if (type_of(m) != CASTLING)
|
if (type_of(m) != CASTLING)
|
||||||
move_piece(from, to, us, pt);
|
move_piece(from, to, us, pt);
|
||||||
|
|
Loading…
Add table
Reference in a new issue