From: VoyagerOne Date: Tue, 25 Aug 2020 13:10:47 +0000 (-0400) Subject: Simplify MCP in QS X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=242a7d9fead561488ca176a4687deef8859918f2 Simplify MCP in QS Simplify moveCount pruning in QS by removing depth dependency. STC LLR: 2.94 (-2.94,2.94) {-1.25,0.25} Total: 42960 W: 4741 L: 4661 D: 33558 Ptnml(0-2): 218, 3574, 13804, 3678, 206 https://tests.stockfishchess.org/tests/view/5f42e3f75089a564a10d8493 LTC LLR: 2.94 (-2.94,2.94) {-0.75,0.25} Total: 66672 W: 3563 L: 3508 D: 59601 Ptnml(0-2): 71, 3064, 26996, 3149, 56 https://tests.stockfishchess.org/tests/view/5f4353285089a564a10d84d0 closes https://github.com/official-stockfish/Stockfish/pull/3067 Bench: 4074430 --- diff --git a/src/search.cpp b/src/search.cpp index d6b611a3..cae8a684 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1526,7 +1526,7 @@ moves_loop: // When in check, search starts from here assert(type_of(move) != ENPASSANT); // Due to !pos.advanced_pawn_push // moveCount pruning - if (moveCount > abs(depth) + 2) + if (moveCount > 2) continue; futilityValue = futilityBase + PieceValue[EG][pos.piece_on(to_sq(move))];