Skip to content

Commit

Permalink
Simplify condition for ProbCut move count pruning bench 5741805
Browse files Browse the repository at this point in the history
5741807 is the official bench but 5741805 is correct since official-stockfish/Stockfish@59d1037 was skipped in asmFish. See discussion at lantonov#165 for more details.
  • Loading branch information
CounterPly committed Jun 6, 2018
1 parent f3a4946 commit ecb3040
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions x86/SearchMacros.asm
Original file line number Diff line number Diff line change
Expand Up @@ -619,9 +619,7 @@ Display 2, "Search(alpha=%i1, beta=%i2, depth=%i8) called%n"
test eax, eax
jz .9moveloop

mov r12d, dword[.depth]
sub r12d, 3
cmp dword[.probCutCount], r12d
cmp dword[.probCutCount], 3
jge .9moveloop_done
add dword[.probCutCount], 1
mov ecx, dword[.move]
Expand Down

0 comments on commit ecb3040

Please sign in to comment.