Speed up picking of killers
[stockfish] / src / movepick.cpp
index 0c61c30c07ef937e75bfc7af63c8d2e6343d6751..3f0837d94db2f1d95843a65a6244a38df998909d 100644 (file)
@@ -328,8 +328,8 @@ Move MovePicker::next_move<false>() {
       case KILLERS_S1:
           move = (cur++)->move;
           if (    move != MOVE_NONE
-              &&  pos.pseudo_legal(move)
               &&  move != ttMove
+              &&  pos.pseudo_legal(move)
               && !pos.capture(move))
               return move;
           break;