Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with Stockfish 16.1 #3

Merged
merged 410 commits into from
Apr 21, 2024
Merged
Changes from 1 commit
Commits
Show all changes
410 commits
Select commit Hold shift + click to select a range
913574f
Remove improvement variable
Vizvezdenec Jul 16, 2023
d70a905
Deprecate the x86-64-modern arch
vondele Jul 16, 2023
34d0c1b
Switch to macos 13 for CI
vondele Jul 16, 2023
6a31f54
remove evalType from bench
robertnurnberg Jul 17, 2023
42d2842
Removes a few Bitboards and functions
rn5f107s2 Jul 17, 2023
6abd0bd
Add CodeQL workflow
jorgectf Jul 3, 2023
3fe0d5c
Unused code cleanup
aesrentai Jul 18, 2023
1444837
Remove inline assembly
Jul 18, 2023
5ea1cbc
Do more futility pruning for cutNodes that are not in TT
Vizvezdenec Jul 19, 2023
4b29797
Check clock more often
vondele Jul 22, 2023
78e3d2a
Simplify some qsearch conditions
windfishballad Jul 23, 2023
76e1e8f
Simplify TT cutoff
locutus2 Jul 20, 2023
027713c
Remove Zobrist::noPawns
stouset Jul 24, 2023
2667316
Simplify one multicut extension
FauziAkram Jul 25, 2023
cb22520
Remove unused return type from propagate()
Jul 25, 2023
f84eb1f
Improve some comments
snicolet Jul 28, 2023
65ece7d
Malus during move ordering for putting pieces en prise
rn5f107s2 Jul 26, 2023
002a504
Identify NEON_DOTPROD in compiler_info()
niklasf Jul 29, 2023
4c43e1e
Add new CPU archs in CI Tests workflow
ppigazzini Jul 31, 2023
a6d9a30
Implement AffineTransformSparseInput for armv8
AndrovT Aug 1, 2023
0ad9b51
Remove classical psqt
linrock Jul 24, 2023
a26f8d3
Tweak formula for pruning moves losing material
FauziAkram Aug 5, 2023
5c2111c
Adjust futility pruning base in qsearch
Vizvezdenec Aug 6, 2023
e64b817
Remove all references to Score type
aesrentai Aug 6, 2023
0d2ddb8
Fix Makefile for incorrect nnue file
Sopel97 Aug 7, 2023
8192945
Improve testing coverage, remove unused code
vondele Aug 9, 2023
4be94f4
Update sanitizer CI to ubuntu 22.04
vondele Aug 13, 2023
d97a02e
Give extra bonus to main history for moves that caused a fail low. #4744
Vizvezdenec Aug 13, 2023
222f3ea
Simplify a depth condition
cj5716 Aug 8, 2023
b7b7a3f
Detect repetitions before they happen in qsearch
peregrineshahin Aug 10, 2023
84e97a3
Remove the unused enum ScaleFactor
Aug 11, 2023
796d9df
Check compiler for docker builds in CI
ppigazzini Aug 11, 2023
c02ee70
Simplify prior countermove bonus
FauziAkram Aug 10, 2023
495852f
Simplify SEE pruning for captures
snicolet Aug 10, 2023
3322349
Simplify pieceValue to one phase.
peregrineshahin Aug 7, 2023
9b80897
Simplify material difference in evaluate
Aug 9, 2023
a77a844
Add CONTRIBUTING.md
Disservin Aug 13, 2023
3e5a817
Fix dead link to compression algorithm in tbprobe
SzilBalazs Aug 13, 2023
fe0dca1
Simplify PvNode Reduction
XInTheDark Aug 13, 2023
4675699
Add -funroll-loops to CXXFLAGS
Disservin Aug 14, 2023
a9a0dbb
Fix some 'possible loss of data' warnings
snicolet Aug 22, 2023
9abef24
Allow compilation on Raspi (for ARMv8)
Matthies Aug 16, 2023
fe7353f
Update links to fishtest
vondele Aug 21, 2023
4c5919f
Fix some tabs in Makefile
snicolet Aug 22, 2023
c6f6236
Simplify Square Clipped ReLU code.
gcp Aug 14, 2023
030b871
Do more full window searches
cj5716 Aug 12, 2023
440feec
Reduce repetitions branches
peregrineshahin Aug 19, 2023
4c4cb18
Play turbulent when defending, simpler when attacking
snicolet Aug 23, 2023
8cd5cbf
Omit two unneeded tests
ttruscott Aug 25, 2023
3c0e86a
Cleanup includes
Disservin Aug 23, 2023
4f7fe25
Simplify README
Disservin Aug 26, 2023
1f7ff84
Simplify slider_blocker calculation
Aug 17, 2023
adf29b3
Rename one variable
FauziAkram Aug 25, 2023
b25d68f
Introduce simple_eval() for lazy evaluations
snicolet Sep 2, 2023
a8b4fd1
Avoid "using namespace std"
UniQP Sep 4, 2023
1461d86
Prevent usage of AVX-512 for the last layer.
Sopel97 Sep 4, 2023
46a5ced
Cleanup git checkout actions
UniQP Sep 10, 2023
6d85f43
Simplify cutnode depth condition
cj5716 Sep 10, 2023
ef22829
Do more futility pruning in qsearch
Vizvezdenec Sep 11, 2023
3d1b067
Update default net to nn-1ee1aba5ed4c.nnue
linrock Sep 9, 2023
b9319c4
Cleanup code after dropping ICC support in favor of ICX
UniQP Aug 31, 2023
3f7fb5a
Reformat some comments
snicolet Sep 11, 2023
0e32287
Reorder some lines
peregrineshahin Sep 14, 2023
97f706e
Sparse impl of affine_transform_non_ssse3()
Sep 12, 2023
708319a
Enable a default native ARCH
vondele Aug 26, 2023
e594aa7
Export makefile ARCH in binary
snicolet Sep 14, 2023
952740b
Let CI check C++ includes
UniQP Sep 11, 2023
fce4cc1
Make casting styles consistent
cj5716 Sep 19, 2023
95fe2b9
Reduce SIMD register count from 32 to 16
Sep 22, 2023
154b8d3
Remove VALUE_KNOWN_WIN.
locutus2 Sep 19, 2023
70ba9de
Update NNUE architecture to SFNNv8: L1-2560 nn-ac1dbea57aa3.nnue
linrock May 12, 2023
22cdb6c
Explicitly invoke shell
vondele Sep 23, 2023
ce99b4b
Increment minor section number from 3.7.1 to 3.8.1.
Beanie496 Sep 29, 2023
9739ed7
Simplify pawn count in evaluation
FauziAkram Sep 23, 2023
243f7b2
Improve grammar of comments
FauziAkram Sep 29, 2023
31d0b7f
Remove unused see_ge() code
Sep 25, 2023
4f0feca
Use C++17 variable templates for type traits
UniQP Sep 25, 2023
660da1c
Skip moves-loop pruning in qsearch if we have only pawns
cj5716 Sep 25, 2023
afe7f4d
Update default net to nn-0000000000a0.nnue
linrock Sep 28, 2023
8a91295
Remove handcrafted MMX code
Sep 24, 2023
f1ce1cd
Update links in license
robertnurnberg Sep 30, 2023
040dfed
Remove one test in the move loop
snicolet Oct 1, 2023
c17a657
Optimize the most common update accumalator cases w/o tiling
mstembera Oct 1, 2023
008d595
Simplify collection of bad moves for history updates.
locutus2 Sep 30, 2023
25d444e
Razor more if ss+1 cutoffCnt > 3
candirufish Oct 7, 2023
f7fbc68
Avoid recomputing moveCountPruning
gab8192 Oct 6, 2023
7a4de96
Skip futility pruning if ttMove has bad history
TarasVuk Oct 7, 2023
0026363
Search parameters tune at 180+1.8
XInTheDark Oct 10, 2023
38e830a
Use more continuation histories.
Vizvezdenec Oct 14, 2023
a4fedd8
Fix greater than TB scores in null move pruning.
peregrineshahin Jul 27, 2023
fe53a18
Reformat some comments and conditions
snicolet Oct 1, 2023
edb4ab9
Standardize Comments
FauziAkram Oct 4, 2023
057046c
Cleanup qsearch continuation histories
peregrineshahin Oct 14, 2023
d3d0c69
Remove outdated Tile naming.
mstembera Oct 19, 2023
90c18b0
Removing history condition
FauziAkram Oct 19, 2023
e18619d
Subtract the margin from the value returned by ProbCut
TarasVuk Oct 19, 2023
8366ec4
Scale down stat bonus
mstembera Oct 20, 2023
2d0237d
add clang-format
Disservin Oct 21, 2023
b7b7800
Simplify futilityBase formula
TarasVuk Oct 22, 2023
40c6a84
Fix a compiler bug on Clang 15+ with AVX-512
MinetaS Oct 17, 2023
b187622
use expanded variables for shell commands
Disservin Oct 22, 2023
a105978
remove blank line between function and it's description
Disservin Oct 22, 2023
cf3dbcb
Time management improvements
XInTheDark Oct 21, 2023
49ece9f
Follow up Makefile changes for clang-format
vondele Oct 23, 2023
d6a5c2b
Small formatting improvements
cj5716 Oct 23, 2023
ec02714
Cleanup comments and some code reorg.
vondele Oct 23, 2023
0024133
Update 5 search params for pruning at shallow depth
linrock Oct 22, 2023
871ab55
Simplify futility pruning formula
TarasVuk Oct 25, 2023
b0658f0
Introduce pawn structure based history
Vizvezdenec Oct 27, 2023
d30af4f
Rewarding Quiet Moves that Enable Razoring
FauziAkram Oct 27, 2023
08ed4c9
Format Code
Disservin Oct 27, 2023
347d613
remove outdated comment
Disservin Oct 27, 2023
38aa70a
Small cleanups
cj5716 Oct 29, 2023
908811c
Introduce asymmetric optimism
XInTheDark Oct 28, 2023
e277dda
Prefetch TT entries in probcut
cj5716 Oct 31, 2023
101d2bb
Simplifying two formulas
FauziAkram Nov 1, 2023
1cb9afb
Remove razoring history update.
locutus2 Oct 28, 2023
b4b704e
Update pawn history based on static eval difference
Vizvezdenec Nov 3, 2023
7f97ba7
Tweaking the futility pruning formula
FauziAkram Nov 4, 2023
791419a
Enhance some comments
peregrineshahin Nov 5, 2023
d4b46ea
Set reduction to 0 if the move is a TT move
FauziAkram Nov 5, 2023
442c294
Use stat_malus when decreasing stats
TarasVuk Nov 5, 2023
d0e8710
Remove pawn history from ProbCut constructor
Nov 6, 2023
80b0e37
Double weight of pawn history for quiet move ordering.
locutus2 Nov 6, 2023
fbc6b27
Simplify away optimism average score offset params
linrock Nov 7, 2023
863a1f2
Introduce recapture extensions
TarasVuk Nov 13, 2023
f9d8717
Symmetrize optimism
vondele Nov 12, 2023
d892177
CI updates
vondele Nov 15, 2023
7970236
Fix undefined behavior in search.
locutus2 Nov 16, 2023
504bf0e
Change depth - 1 to newDepth
FauziAkram Nov 20, 2023
b59786e
Remove doEvenDeeperSearch
FauziAkram Nov 16, 2023
b4e9ee7
Reformat some comments
FauziAkram Nov 20, 2023
13426a9
Simplify history update.
locutus2 Nov 23, 2023
757ae2f
Simplify move history reduction
XInTheDark Nov 25, 2023
f17db46
Simplify doDeeperSearch
FauziAkram Dec 2, 2023
8831633
Simplify promotion move generation
cj5716 Dec 2, 2023
7dc40ac
Simplify quietMoveMalus malus
FauziAkram Nov 29, 2023
85403a8
Skip LMR for 2nd move at the root only
TarasVuk Nov 29, 2023
15d47a2
Remove recaptures stage in qsearch
cj5716 Nov 29, 2023
08cdbca
Tweak return value in futility pruning
lonfom169 Nov 30, 2023
8f65953
Temporarily disable CI include checks
UniQP Dec 3, 2023
0ff2ea6
Update GitHub workflows
ppigazzini Dec 3, 2023
7a8bcfc
Remove cutNode condition
FauziAkram Dec 4, 2023
dadff46
Revert "Temporarily disable CI include checks"
Disservin Dec 5, 2023
53ad6d2
Remove moveMalus
TarasVuk Dec 5, 2023
8724503
Simplify the code to get the native flags
ppigazzini Dec 6, 2023
36db936
VLTC Search parameters tune
XInTheDark Dec 8, 2023
282e15b
Fix TB score output in UCI without using TB
peregrineshahin Nov 17, 2023
7885fa5
Track seldepth in qsearch too
peregrineshahin Dec 3, 2023
cdfafb3
Add loongarch64 support
KatyushaScarlet Dec 10, 2023
9fc064e
Fix action deprecation warning for dev-drprasad
Disservin Dec 10, 2023
536d692
Remove SlowMover Option
FauziAkram Dec 12, 2023
c53d2ec
Remove UCI_AnalyseMode Option
XInTheDark Dec 13, 2023
d9ec82e
Adjust stand pat in qsearch on pv nodes
Vizvezdenec Dec 14, 2023
07a2619
Improvement of Time Management Parameters
FauziAkram Dec 15, 2023
a069a1b
Use std::abs over abs
FauziAkram Dec 18, 2023
9be0360
Adjust return value in qsearch after fail high
Vizvezdenec Dec 18, 2023
358a853
Revert "Adjust stand pat in qsearch on pv nodes"
Disservin Dec 22, 2023
fbdf5d9
Tweak quiet move bonus
FauziAkram Dec 20, 2023
3f5adc0
Fix wrong mate/tb scores from probCut
peregrineshahin Dec 21, 2023
f388e41
Adjust value returned after TT cutoff
Vizvezdenec Dec 24, 2023
bab1cc3
Refactor bestvalue adjustment in qsearch
FauziAkram Dec 26, 2023
f12035c
Update default net to nn-b1e55edbea57.nnue
linrock Dec 25, 2023
1a69efb
Fix scores from reverse futility pruning
peregrineshahin Dec 29, 2023
4f99dfc
Update Makefile for android x86-64 builds
topse Dec 18, 2023
833a2e2
Cleanup comments
FauziAkram Dec 30, 2023
1fe562f
Simplify the improving flag calculation
FauziAkram Dec 30, 2023
4ff297a
Mark square_bb() as constexpr
FauziAkram Dec 31, 2023
b4d995d
Introduce static evaluation correction history
Vizvezdenec Dec 31, 2023
3cfaef7
Tweak static eval history update
locutus2 Dec 31, 2023
0fca560
Fix formatting in search.cpp
Disservin Jan 1, 2024
154abb3
Lower MultiPV max to MAX_MOVES
bftjoe Dec 31, 2023
a25f48a
Silence security alert warning about possible infinite loop
Disservin Jan 1, 2024
444f03e
Update copyright year
Disservin Jan 1, 2024
5546bc0
Simplification of partial_insertion_sort formula.
FauziAkram Jan 1, 2024
28f8663
Modify ttPV reduction
Viren6 Jan 2, 2024
cafbe8e
Change the Move enum to a class
Disservin Jan 1, 2024
4930892
Fix typo in tbprobe.cpp
RainRat Jan 3, 2024
b987d4f
Use type aliases instead of enums for Value types
Disservin Jan 1, 2024
8b4583b
Remove redundant int cast
FauziAkram Jan 3, 2024
a5f7386
Remove unneeded operator overload macros
miguel-l Jan 5, 2024
6f9071c
Tweak usage of correction history
Vizvezdenec Jan 6, 2024
19f9a19
Add .git-blame-ignore-revs
Disservin Jan 6, 2024
a5a76a6
Introduce BAD_QUIET movepicker stage
mstembera Jan 7, 2024
584d9ef
Dual NNUE with L1-128 smallnet
linrock Dec 3, 2023
f09adaa
Update smallnet to nn-baff1ede1f90.nnue with wider eval range
linrock Dec 13, 2023
7c5e3f2
Prefix abs with std::
Disservin Jan 7, 2024
99cdb92
Cleanup Evalfile handling
Disservin Jan 7, 2024
6deb887
Update default main net to nn-baff1edbea57.nnue
linrock Jan 3, 2024
a107910
Refactor global variables
Disservin Jan 8, 2024
3372ee9
Remove threatenedByPawn term for queen threats
FauziAkram Jan 11, 2024
eec361f
Simplify bad quiets
mstembera Jan 8, 2024
cf5b070
Remove unused method
Disservin Jan 13, 2024
12e9770
Fix UCI options
Disservin Jan 14, 2024
88331ad
Remove the dependency on a Worker from evaluate
Disservin Jan 13, 2024
b5e8169
Add ignoreRevsFile to CONTRIBUTING.md
Disservin Jan 13, 2024
32e46fc
Remove some outdated SIMD functions
mstembera Jan 9, 2024
a5675f1
Remove global TB variables from search.cpp
Disservin Jan 14, 2024
f15e4f5
Update installation guide links in CONTRIBUTING.md
Disservin Jan 14, 2024
0c7f56d
Fix mated-in behaviour
peregrineshahin Jan 8, 2024
6c02329
Fix dotprod detection
Torom Jan 15, 2024
0fbad56
Refactor code for correcting unadjustedStaticEval
Jan 15, 2024
9a9702d
Remove threatenedByPawn from rook threat
FauziAkram Jan 16, 2024
c8bc2ce
Improve ttPv reduction
Viren6 Jan 17, 2024
856e60d
Refactor NativeThread start_routine
Disservin Jan 17, 2024
aa15a91
Refactor ttPv reduction conditions
Viren6 Jan 19, 2024
e860f62
Reduce futility_margin further when improving
rn5f107s2 Jan 19, 2024
ad9fcbc
Refactor get_best_thread
peregrineshahin Jan 18, 2024
a901474
Update the WDL model
robertnurnberg Jan 20, 2024
a6fd17f
VLTC search tune
XInTheDark Jan 17, 2024
2b62c44
Remove redundant max operation on lmrDepth
FauziAkram Jan 23, 2024
3d49a99
Refactor history score calculation
FauziAkram Jan 24, 2024
1dfbde2
Move perft out of search
Disservin Jan 13, 2024
37bd1e7
Do more double extensions
Vizvezdenec Jan 25, 2024
c17ec95
Move OnChange callback in Option ctors
wcdbmv Jan 26, 2024
fcbb02f
Use ttPv in depth condition of singular extensions
Viren6 Jan 26, 2024
13eb023
Simplify array initializations
Disservin Jan 27, 2024
16afec0
Refactor pv printing
Disservin Jan 27, 2024
3cce4c4
Add Apple Silicon Runners to CI
Disservin Jan 31, 2024
56b342f
Simplify the extension formula
FauziAkram Jan 27, 2024
f2b6b5c
Introduce Triple Extensions
Viren6 Feb 1, 2024
e815227
Simplify LMR condition
gab8192 Feb 1, 2024
ededadc
VVLTC search tune
XInTheDark Feb 1, 2024
59691d4
Assorted trivial cleanups
FauziAkram Feb 4, 2024
a20726e
Refactor the CI workflows
Disservin Feb 9, 2024
f298447
Tweak capture scoring for move ordering
locutus2 Feb 1, 2024
c0107b3
Remove simple eval
cj5716 Feb 6, 2024
15093d4
Simplify opponent movecount reduction
gahtan-syarif Feb 7, 2024
96837bc
Remove check extension
XInTheDark Feb 7, 2024
9699f4f
Fix the alignment of the transformer buffer
mstembera Feb 8, 2024
21dff6c
Update CI actions
Disservin Feb 10, 2024
3d5b16d
Remove unnecessary assignments related to adjusted static evaluation
GoldenRare Feb 6, 2024
9068fdc
Assorted cleanups
Disservin Feb 10, 2024
91a4cea
Adjust best value in main search depending on depth
Vizvezdenec Feb 10, 2024
531747e
Improve thread voting inefficiencies
mstembera Feb 10, 2024
c115e51
Remove quiet tt move extensions
gahtan-syarif Feb 9, 2024
7ccde25
Format code using clang-format
Disservin Feb 11, 2024
5c03883
VVLTC search tune
XInTheDark Feb 13, 2024
f4f0b32
Refactor timeman.cpp
TierynnB Feb 6, 2024
bf2c730
Use node counting to early stop search
Disservin Feb 11, 2024
9d61822
Remove penalty for quiet ttMove that fails low
gahtan-syarif Feb 9, 2024
f3df0cf
Simplify TT PV reduction
cj5716 Feb 13, 2024
8e75548
Update default main net to nn-b1a57edbea57.nnue
linrock Feb 6, 2024
fc41f64
Simplify PV node reduction
cj5716 Feb 13, 2024
d07033d
Expose EvalFileSmall option for small net
Disservin Feb 24, 2024
bec83a1
Update Top CPU Contributors
Disservin Feb 24, 2024
5c2b385
Update the WDL model
robertnurnberg Feb 24, 2024
e67cc97
Stockfish 16.1
Disservin Feb 21, 2024
a2b4399
Merge tag 'sf_16.1' of github.com:official-stockfish/Stockfish into s…
pdil Apr 21, 2024
419cbc2
Rename main.cpp for SPM compatability
pdil Apr 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change depth - 1 to newDepth
Replacing 'depth - 1' with 'newDepth' in the singularbeta formula
utilizes existing variables more succinctly.

closes official-stockfish#4876

No functional change
  • Loading branch information
FauziAkram authored and Disservin committed Nov 20, 2023
commit 504bf0e8b8cf2dd818deb623c5ad7e428e504cd8
2 changes: 1 addition & 1 deletion src/search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ Value search(Position& pos, Stack* ss, Value alpha, Value beta, Depth depth, boo
&& tte->depth() >= depth - 3)
{
Value singularBeta = ttValue - (64 + 57 * (ss->ttPv && !PvNode)) * depth / 64;
Depth singularDepth = (depth - 1) / 2;
Depth singularDepth = newDepth / 2;

ss->excludedMove = move;
value =
Expand Down