]> git.sesse.net Git - stockfish/commitdiff
Merge remote-tracking branch 'upstream/master'
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 15 Jan 2022 10:01:13 +0000 (11:01 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 15 Jan 2022 10:01:13 +0000 (11:01 +0100)
55 files changed:
AUTHORS
Top CPU Contributors.txt
src/Makefile
src/benchmark.cpp
src/bitbase.cpp
src/bitboard.cpp
src/bitboard.h
src/endgame.cpp
src/endgame.h
src/evaluate.cpp
src/evaluate.h
src/main.cpp
src/material.cpp
src/material.h
src/misc.cpp
src/misc.h
src/movegen.cpp
src/movegen.h
src/movepick.cpp
src/movepick.h
src/nnue/evaluate_nnue.cpp
src/nnue/evaluate_nnue.h
src/nnue/features/half_ka_v2_hm.cpp
src/nnue/features/half_ka_v2_hm.h
src/nnue/layers/affine_transform.h
src/nnue/layers/clipped_relu.h
src/nnue/layers/input_slice.h
src/nnue/nnue_accumulator.h
src/nnue/nnue_architecture.h
src/nnue/nnue_common.h
src/nnue/nnue_feature_transformer.h
src/pawns.cpp
src/pawns.h
src/position.cpp
src/position.h
src/psqt.cpp
src/psqt.h
src/search.cpp
src/search.h
src/simd.h
src/syzygy/tbprobe.cpp
src/syzygy/tbprobe.h
src/thread.cpp
src/thread.h
src/thread_win32_osx.h
src/timeman.cpp
src/timeman.h
src/tt.cpp
src/tt.h
src/tune.cpp
src/tune.h
src/types.h
src/uci.cpp
src/uci.h
src/ucioption.cpp

diff --git a/AUTHORS b/AUTHORS
index 35ccdaf5235962f4e88a698874ccefb3b51e0a2e..f49c1db0edebbba3f531157c86f75cc9fd185d72 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -132,6 +132,7 @@ Michael Whiteley (protonspring)
 Michel Van den Bergh (vdbergh)
 Miguel Lahoz (miguel-l)
 Mikael Bäckman (mbootsector)
+Mike Babigian (Farseer)
 Mira
 Miroslav Fontán (Hexik)
 Moez Jellouli (MJZ1977)
@@ -165,6 +166,7 @@ Rodrigo Exterckötter Tjäder
 Ron Britvich (Britvich)
 Ronald de Man (syzygy1, syzygy)
 rqs
+Rui Coelho (ruicoelhopedro)
 Ryan Schmitt
 Ryan Takker
 Sami Kiminki (skiminki)
index f0ec51f9291d5cbdedfac4af34a6ffc2b5d44084..718d7cca177032fd76eba1327b07d2616c845ea6 100644 (file)
@@ -1,68 +1,69 @@
-Contributors to Fishtest with >10,000 CPU hours, as of 2021-12-11.
+Contributors to Fishtest with >10,000 CPU hours, as of 2022-01-08.
 Thank you!
 
 Username                                CPU Hours     Games played
 ------------------------------------------------------------------
-noobpwnftw                               29832955       2061725095
-mlang                                     2345848        162775694
-dew                                       1559902         93935940
-technologov                               1154365         43136020
-grandphish2                                988545         60725563
+noobpwnftw                               30323785       2111752181
+mlang                                     2597136        178003354
+dew                                       1598255         95747056
+technologov                               1395130         59347018
+grandphish2                               1028906         63396841
 tvijlbrief                                 795993         51894442
-TueRens                                    716909         45503672
+TueRens                                    737922         46359276
+okrout                                     719183         57150314
 mibere                                     703840         46867607
-JojoM                                      675708         41046762
-okrout                                     648513         49953162
-linrock                                    563226         16184599
-pemo                                       520578         26816487
-gvreuls                                    501232         32662374
-cw                                         495103         33171295
-fastgm                                     476917         28660004
+JojoM                                      689134         42001146
+linrock                                    594355         16779359
+pemo                                       575248         28386103
+gvreuls                                    509219         33205908
+cw                                         500695         33575803
+fastgm                                     479238         28830588
 crunchy                                    427035         27344275
-CSU_Dynasty                                407300         27580858
-ctoks                                      386452         25757397
-oz                                         343309         25441096
+CSU_Dynasty                                410969         27877556
+ctoks                                      393901         26299629
+oz                                         354661         26331020
 Fisherman                                  327231         21829379
-velislav                                   320318         20642978
-bcross                                     319459         22485737
-leszek                                     277442         17495865
-Dantist                                    229980         14568674
-mgrabiak                                   225684         14774260
+bcross                                     325119         22871639
+velislav                                   320581         20663382
+leszek                                     291605         18475167
+Dantist                                    239411         15236750
+mgrabiak                                   229336         15004308
 glinscott                                  217799         13780820
+robal                                      211837         13563250
 nordlandia                                 211692         13484886
-robal                                      209847         13427680
-drabel                                     200340         13727458
+drabel                                     200377         13730626
 bking_US                                   198894         11876016
 Thanar                                     179852         12365359
-vdv                                        175274          9889046
-mhoram                                     166293         10796647
+vdv                                        175535          9904264
+mhoram                                     173134         11257113
 spams                                      157128         10319326
 marrco                                     150300          9402229
 sqrt2                                      147963          9724586
-vdbergh                                    137186          8938965
+vdbergh                                    137425          8954767
 CoffeeOne                                  137100          5024116
 malala                                     136182          8002293
 xoto                                       133759          9159372
-davar                                      122092          7960001
+davar                                      122113          7961971
 dsmith                                     122059          7570238
 amicic                                     119659          7937885
+rpngn                                      118952          8100045
 Data                                       113305          8220352
 BrunoBanani                                112960          7436849
-rpngn                                      109031          7392547
 CypressChess                               108321          7759588
 MaZePallas                                 102823          6633619
 sterni1971                                 100532          5880772
 sunu                                       100167          7040199
 ElbertoOne                                  99028          7023771
-skiminki                                    98121          6478170
+skiminki                                    98123          6478402
+DesolatedDodo                               93686          6139198
 brabos                                      92118          6186135
+cuistot                                     90357          5350988
 psk                                         89957          5984901
-cuistot                                     88420          5225234
-DesolatedDodo                               88356          5779482
-racerschmacer                               85711          6119610
+racerschmacer                               85712          6119648
 Vizvezdenec                                 83761          5344740
 0x3C33                                      82614          5271253
 BRAVONE                                     81239          5054681
+sschnee                                     78091          4678078
 nssy                                        76497          5259388
 teddybaer                                   75125          5407666
 Pking_cda                                   73776          5293873
@@ -70,59 +71,59 @@ jromang                                     72192          5057715
 solarlight                                  70517          5028306
 dv8silencer                                 70287          3883992
 Bobo1239                                    68515          4652287
+zeryl                                       68203          4516139
 manap                                       66273          4121774
-sschnee                                     64563          3633680
 tinker                                      64333          4268790
-zeryl                                       63290          4179159
+yurikvelo                                   61692          4262042
 qurashee                                    61208          3429862
-yurikvelo                                   60387          4169900
 robnjr                                      57262          4053117
 Freja                                       56938          3733019
 ttruscott                                   56010          3680085
 rkl                                         55132          4164467
+Wolfgang                                    54087          3415872
 renouve                                     53811          3501516
 finfish                                     51360          3370515
 eva42                                       51272          3599691
-Wolfgang                                    51248          3218932
-eastorwest                                  50311          3409935
+eastorwest                                  51055          3451203
 rap                                         49985          3219146
 pb00067                                     49727          3298270
+Spprtr                                      48260          3141959
 bigpen0r                                    47667          3336927
 ronaldjerum                                 47654          3240695
 MaxKlaxxMiner                               47584          2972142
 biffhero                                    46564          3111352
-Spprtr                                      45877          2995437
 Fifis                                       45843          3088497
 VoyagerOne                                  45476          3452465
 speedycpu                                   43842          3003273
 jbwiebe                                     43305          2805433
+megaman7de                                  43042          2823256
 Antihistamine                               41788          2761312
 mhunt                                       41735          2691355
-megaman7de                                  40060          2625050
 homyur                                      39893          2850481
 gri                                         39871          2515779
-oryx                                        38860          2976488
+oryx                                        38867          2976992
 SC                                          37299          2731694
+Garf                                        37213          2986270
 csnodgrass                                  36207          2688994
 jmdana                                      36157          2210661
-Garf                                        36113          2897580
 strelock                                    34716          2074055
 EthanOConnor                                33370          2090311
 slakovv                                     32915          2021889
+Calis007                                    32024          2163604
 manapbk                                     30987          1810399
 DMBK                                        30675          2383552
 Prcuvu                                      30377          2170122
 anst                                        30301          2190091
+armo9494                                    30198          2438202
 jkiiski                                     30136          1904470
+tolkki963                                   29918          1822290
 hyperbolic.tom                              29840          2017394
 chuckstablers                               29659          2093438
 Pyafue                                      29650          1902349
-tolkki963                                   28171          1716386
+gopeto                                      28881          1896862
 OuaisBla                                    27636          1578800
-armo9494                                    27224          2221042
 chriswk                                     26902          1868317
 achambord                                   26582          1767323
-gopeto                                      26355          1717722
 Patrick_G                                   26276          1801617
 yorkman                                     26193          1992080
 SFTUser                                     25182          1675689
@@ -135,8 +136,8 @@ JanErik                                     23408          1703875
 Isidor                                      23388          1680691
 Norabor                                     23339          1602636
 cisco2015                                   22897          1762669
+Ente                                        22810          1628234
 Zirie                                       22542          1472937
-Ente                                        22486          1606268
 team-oh                                     22272          1636708
 MazeOfGalious                               21978          1629593
 sg4032                                      21947          1643265
@@ -151,10 +152,11 @@ horst.prack                                 20878          1465656
 j3corre                                     20405           941444
 Adrian.Schmidt123                           20316          1281436
 wei                                         19973          1745989
+belzedar94                                  19818          1434252
+user213718                                  19608          1334650
 rstoesser                                   19569          1293588
 eudhan                                      19274          1283717
 vulcan                                      18871          1729392
-user213718                                  18590          1271128
 jundery                                     18445          1115855
 iisiraider                                  18247          1101015
 ville                                       17883          1384026
@@ -163,52 +165,53 @@ purplefishies                               17595          1092533
 dju                                         17353           978595
 DragonLord                                  17014          1162790
 IgorLeMasson                                16064          1147232
+Roady                                       15677          1121476
 ako027ako                                   15671          1173203
+kdave                                       15539          1160356
 Nikolay.IT                                  15154          1068349
 Andrew Grant                                15114           895539
 OssumOpossum                                14857          1007129
+spcc                                        14838          1034050
 Karby                                       14808           867120
 enedene                                     14476           905279
-jsys14                                      14318           843704
+fishtester                                  14411          1016252
+jsys14                                      14340           844792
 bpfliegel                                   14298           884523
+AndreasKrug                                 14096          1126301
 mpx86                                       14019           759568
 jpulman                                     13982           870599
-kdave                                       13933          1045550
+Ulysses                                     13977          1073410
 crocogoat                                   13803          1117422
 joster                                      13794           950160
 Nesa92                                      13786          1114691
 mbeier                                      13650          1044928
-AndreasKrug                                 13624          1090613
 Hjax                                        13535           915487
 Dark_wizzie                                 13422          1007152
-Ulysses                                     13392          1021264
-Calis007                                    13267           873236
 Rudolphous                                  13244           883140
-spcc                                        13085           917006
 Machariel                                   13010           863104
 mabichito                                   12903           749391
 thijsk                                      12886           722107
 AdrianSA                                    12860           804972
 Flopzee                                     12698           894821
+infinigon                                   12638           933684
 fatmurphy                                   12547           853210
 scuzzi                                      12511           845761
 SapphireBrand                               12416           969604
 modolief                                    12386           896470
-fishtester                                  12320           873882
 Farseer                                     12249           694108
 pgontarz                                    12151           848794
 stocky                                      11954           699440
 mschmidt                                    11941           803401
 Maxim                                       11543           836024
 infinity                                    11470           727027
+pirt                                        11434           889369
 aga                                         11409           695071
 torbjo                                      11395           729145
-pirt                                        11392           886291
 Thomas A. Anderson                          11372           732094
 savage84                                    11358           670860
 FormazChar                                  11304           847663
+dbernier                                    11274           806566
 d64                                         11263           789184
-dbernier                                    11258           805102
 MooTheCow                                   11237           720174
 snicolet                                    11106           869170
 ali-al-zhrani                               11098           768494
@@ -217,7 +220,6 @@ Cubox                                       10621           826448
 michaelrpg                                  10509           739239
 OIVAS7572                                   10420           995586
 dzjp                                        10343           732529
-infinigon                                   10319           776158
-Garruk                                      10314           702629
+Garruk                                      10332           703905
 ols                                         10259           570669
 lbraesch                                    10252           647825
index 3971ea78fda15c111bfa1aebbb2dd55582cddd8b..aeb8ba9d29b7d81df4720ebfde628c3b4d7feb38 100644 (file)
@@ -1,5 +1,5 @@
 # Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-# Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+# Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 #
 # Stockfish is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -407,12 +407,14 @@ ifeq ($(COMP),clang)
        ifneq ($(KERNEL),Darwin)
        ifneq ($(KERNEL),OpenBSD)
        ifneq ($(KERNEL),FreeBSD)
+       ifneq ($(findstring MINGW,$(KERNEL)),MINGW)
        ifneq ($(RTLIB),compiler-rt)
                LDFLAGS += -latomic
        endif
        endif
        endif
        endif
+       endif
 
        ifeq ($(arch),$(filter $(arch),armv7 armv8))
                ifeq ($(OS),Android)
@@ -423,6 +425,11 @@ ifeq ($(COMP),clang)
                CXXFLAGS += -m$(bits)
                LDFLAGS += -m$(bits)
        endif
+
+       ifeq ($(findstring MINGW,$(KERNEL)),MINGW)
+               LDFLAGS += -static
+       endif
+
 endif
 
 ifeq ($(KERNEL),Darwin)
index 7945a4535ca4eb82dfc65ae4d4a3834839ca5801..e1c025adb9afc7d955d9b763154b2002b27e3394 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -87,6 +87,7 @@ const vector<string> Defaults = {
   // Chess 960
   "setoption name UCI_Chess960 value true",
   "bbqnnrkr/pppppppp/8/8/8/8/PPPPPPPP/BBQNNRKR w HFhf - 0 1 moves g2g3 d7d5 d2d4 c8h3 c1g5 e8d6 g5e7 f7f6",
+  "nqbnrkrb/pppppppp/8/8/8/8/PPPPPPPP/NQBNRKRB w KQkq - 0 1",
   "setoption name UCI_Chess960 value false"
 };
 
index 27bf4095478db4bfc9209c660b124a984d243887..84300baf92abb0dc0519ff4659081f1319190eff 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 6b84b51e036bea5c1a62fbff17ff3f4530eb71ed..fd0ba235cb471f70853b76723564cb69c4f17bea 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index b29f3e24fa1d5d29e230cde88c0105b0d8e6365f..2b6e2a6920c646486c1ccbe942e980396f571fc3 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index a44d3a1c5e66f3c10a1f40853c41794f80dc81dc..e773e7a91199353881648890490c58a54b5134ea 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 146111b95791511a361a9af8ff96e24aca81fe46..e79f696fa3a091dd8009d78a433228c429300acc 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 8bc516957c8af91b85387519f07f20e99b8f4792..a5c049a88adb8446cb14720a51b3ab109effa45d 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -192,8 +192,8 @@ using namespace Trace;
 namespace {
 
   // Threshold for lazy and space evaluation
-  constexpr Value LazyThreshold1    =  Value(3130);
-  constexpr Value LazyThreshold2    =  Value(2204);
+  constexpr Value LazyThreshold1    =  Value(3631);
+  constexpr Value LazyThreshold2    =  Value(2084);
   constexpr Value SpaceThreshold    =  Value(11551);
 
   // KingAttackWeights[PieceType] contains king attack weights by piece type
@@ -1069,8 +1069,8 @@ make_v:
         && pos.piece_on(SQ_G7) == B_PAWN)
         correction += CorneredBishop;
 
-    return pos.side_to_move() == WHITE ?  Value(5 * correction)
-                                       : -Value(5 * correction);
+    return pos.side_to_move() == WHITE ?  Value(3 * correction)
+                                       : -Value(3 * correction);
   }
 
 } // namespace Eval
@@ -1082,29 +1082,28 @@ make_v:
 Value Eval::evaluate(const Position& pos) {
 
   Value v;
+  bool useClassical = false;
 
   // Deciding between classical and NNUE eval (~10 Elo): for high PSQ imbalance we use classical,
   // but we switch to NNUE during long shuffling or with high material on the board.
-
-  bool classical = false;
-
   if (  !useNNUE
-      || abs(eg_value(pos.psq_score())) * 5 > (850 + pos.non_pawn_material() / 64) * (5 + pos.rule50_count()))
+      || abs(eg_value(pos.psq_score())) * 5 > (849 + pos.non_pawn_material() / 64) * (5 + pos.rule50_count()))
   {
       v = Evaluation<NO_TRACE>(pos).value();          // classical
-      classical = abs(v) >= 300;
+      useClassical = abs(v) >= 298;
   }
 
   // If result of a classical evaluation is much lower than threshold fall back to NNUE
-  if (!classical && useNNUE)
+  if (useNNUE && !useClassical)
   {
-       int scale = 1136
-                   + 20 * pos.non_pawn_material() / 1024;
-
        Value nnue     = NNUE::evaluate(pos, true);     // NNUE
+       int scale      = 1136 + 20 * pos.non_pawn_material() / 1024;
        Color stm      = pos.side_to_move();
        Value optimism = pos.this_thread()->optimism[stm];
+       Value psq      = (stm == WHITE ? 1 : -1) * eg_value(pos.psq_score());
+       int complexity = 35 * abs(nnue - psq) / 256;
 
+       optimism = optimism * (44 + complexity) / 32;
        v = (nnue + optimism) * scale / 1024 - optimism;
 
        if (pos.is_chess960())
@@ -1112,7 +1111,7 @@ Value Eval::evaluate(const Position& pos) {
   }
 
   // Damp down the evaluation linearly when shuffling
-  v = v * (207 - pos.rule50_count()) / 207;
+  v = v * (208 - pos.rule50_count()) / 208;
 
   // Guarantee evaluation does not hit the tablebase range
   v = std::clamp(v, VALUE_TB_LOSS_IN_MAX_PLY + 1, VALUE_TB_WIN_IN_MAX_PLY - 1);
index d0c825eb3d366872dea128b0932da8fad4165c88..57a7687d776599196d2b5d584f4d4cbc5f9f2417 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 359a0d22c2a5016ee135c34d2d24afd510b8cf83..435e436c3fe7a39e7ebd51b411b5676d6245dcfe 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 9d17af208c4261783f6d446bb165057994b64bee..1567358af488143e5befb36add633be9a5f67903 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 26535a535afb295bdcbcfe6bfe66664ff4b2a6e6..3ca169ce0b93b6ff5500552f0d9a8c4319ed7157 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 87b20eb5725958143d578ef993ddac02262a8041..9618ba763e165ed7d86c882a98f34822a9dc41bf 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 062b420a422befb2bd3192247bdbce1d26d9efb2..688d00e7e55c967335367be8fb2f0287bffeb5c6 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 5095bb7455e6f36966d884ea297a8431b363183a..c7a3c29bc04f60816c7867a57f28f0a1d3d28ec2 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 3f895f05ad481bdf9e092bfdd7ff814de906ad51..bbb35b39159ab20ee4348644eed8e234f7963de2 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 6aa1954b5ae67ccee5108b8de2729f43dc46b03b..694b9222fe573945c826e627865e6b4d5565f58c 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 426bac89bd9b232d5d9b58f7221270bdcdf5e2da..e2cbfcdee33fb75f21ffd995e7addea9fb13d7df 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index a534753add5380a8e2aeb2fc01a706e495b243ee..862b200338888a908716d191e0f8152d89e23b4a 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index c7fa4a96f5502efcb14f0cf19677f2b5c3f9e0d9..2e4f1f5098db640edfcfc680dc75ff8afeac83ad 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 6face2172a493cf97e7f721460f785d9ae2a7665..07a1d7a154dca59ec6d0e977937169de37458153 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index c7b1a68df71be28e4e5df19a6ef330f6b7a73176..1e6da0bfe2b83c27d176a3518d1ac6ec58e98e17 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 11038d69b1c7ff40b948bace675266d73af7b12d..4e85a5fe4b114412527a27c1c06e669870106424 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index c6f3ccade7db51917dfa3e0bcf88540ffbff25e1..0da5e8210119a5a38e474dfeb5e2bfa2cc3e00e4 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index b6bf1727b406824fe6de7028417393d6f7d45e96..8f526b745f724f435a35f1496f5f43f10bf58d45 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index d41ecf95b171f365546c25915a114b6296af1292..600483b5cfdc2c0875280d4db9df706562077e69 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 193a197d3b2ad1040aefb19a57199c1aad12ad7b..8867fac72fc2f39f12ecf8bbc89673515f63998d 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 74eaae17c2dadecb804f169b204984fe42cc3adb..1bce00ae4650aa72a03ec9d577ceb7f8a4e2b41c 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 4f6a174a486667ea23acab3e3d99c4f1fe13d438..f4024dce83b9d1e5f02ce87528a80d70a68874fc 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 70fb6f23782a3ef7cce021f22258bc18a60791c9..6e509133abcba88bb370a49f031facb82a453846 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 124619d66a0c20805fa5d5d3f328f6167d0b6943..af0370fc41aa76abd70ab2889a6741ca3aed0f7f 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index a4dab37d8b587e443421081047478de201f0ad3d..a1643d6d280d878feb0405576efc5685d0a6c7a9 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 9f694a79b25828a476f9aad6b776c95db727981a..8dbf1493c283cb72631a002ce21808946771f46a 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 33a3e00c91da45d96c9885f2a06d9beca3a15ae7..ca5664c259ff5191589ec369974de69efe44ca44 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 7abb14830c105af774779f4e9ac54af7fcaae57b..4ee0e379b145b5262ff53b413904813b229ecad2 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index a76297177427361f1e3a6034f63c884979ef1bb4..c81496d17a35aa6a00374c9ec9be9115ea720c49 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -69,9 +69,9 @@ namespace {
   // Reductions lookup table, initialized at startup
   int Reductions[MAX_MOVES]; // [depth or moveNumber]
 
-  Depth reduction(bool i, Depth d, int mn, bool rangeReduction, Value delta, Value rootDelta) {
+  Depth reduction(bool i, Depth d, int mn, Value delta, Value rootDelta) {
     int r = Reductions[d] * Reductions[mn];
-    return (r + 1358 - int(delta) * 1024 / int(rootDelta)) / 1024 + (!i && r > 904) + rangeReduction;
+    return (r + 1358 - int(delta) * 1024 / int(rootDelta)) / 1024 + (!i && r > 904);
   }
 
   constexpr int futility_move_count(bool improving, Depth depth) {
@@ -550,7 +550,7 @@ namespace {
     if (   ss->ply > 10
         && search_explosion(thisThread) == MUST_CALM_DOWN
         && depth > (ss-1)->depth)
-       depth = (ss-1)->depth;
+        depth = (ss-1)->depth;
 
     constexpr bool PvNode = nodeType != NonPV;
     constexpr bool rootNode = nodeType == Root;
@@ -589,7 +589,7 @@ namespace {
     bool givesCheck, improving, didLMR, priorCapture;
     bool captureOrPromotion, doFullDepthSearch, moveCountPruning, ttCapture;
     Piece movedPiece;
-    int moveCount, captureCount, quietCount, bestMoveCount, improvement;
+    int moveCount, captureCount, quietCount, bestMoveCount, improvement, complexity;
 
     // Step 1. Initialize node
     ss->inCheck        = pos.checkers();
@@ -760,6 +760,7 @@ namespace {
         ss->staticEval = eval = VALUE_NONE;
         improving = false;
         improvement = 0;
+        complexity = 0;
         goto moves_loop;
     }
     else if (ss->ttHit)
@@ -803,6 +804,7 @@ namespace {
                   :                                    200;
 
     improving = improvement > 0;
+    complexity = abs(ss->staticEval - (us == WHITE ? eg_value(pos.psq_score()) : -eg_value(pos.psq_score())));
 
     // Step 7. Futility pruning: child node (~25 Elo).
     // The depth condition is important for mate finding.
@@ -818,7 +820,7 @@ namespace {
         && (ss-1)->statScore < 23767
         &&  eval >= beta
         &&  eval >= ss->staticEval
-        &&  ss->staticEval >= beta - 20 * depth - improvement / 15 + 204
+        &&  ss->staticEval >= beta - 20 * depth - improvement / 15 + 204 + complexity / 25
         && !excludedMove
         &&  pos.non_pawn_material(us)
         && (ss->ply >= thisThread->nmpMinPly || us != thisThread->nmpColor))
@@ -938,8 +940,6 @@ namespace {
 
 moves_loop: // When in check, search starts here
 
-    int rangeReduction = 0;
-
     // Step 11. A small Probcut idea, when we are in check (~0 Elo)
     probCutBeta = beta + 409;
     if (   ss->inCheck
@@ -1026,7 +1026,7 @@ moves_loop: // When in check, search starts here
           moveCountPruning = moveCount >= futility_move_count(improving, depth);
 
           // Reduced depth of the next LMR search
-          int lmrDepth = std::max(newDepth - reduction(improving, depth, moveCount, rangeReduction > 2, delta, thisThread->rootDelta), 0);
+          int lmrDepth = std::max(newDepth - reduction(improving, depth, moveCount, delta, thisThread->rootDelta), 0);
 
           if (   captureOrPromotion
               || givesCheck)
@@ -1042,7 +1042,7 @@ moves_loop: // When in check, search starts here
                   continue;
 
               // SEE based pruning (~9 Elo)
-              if (!pos.see_ge(move, Value(-218) * depth))
+              if (!pos.see_ge(move, Value(-217) * depth))
                   continue;
           }
           else
@@ -1053,7 +1053,7 @@ moves_loop: // When in check, search starts here
 
               // Continuation history based pruning (~2 Elo)
               if (   lmrDepth < 5
-                  && history < -3000 * depth + 3000)
+                  && history < -3875 * (depth - 1))
                   continue;
 
               history += thisThread->mainHistory[us][from_to(move)];
@@ -1061,7 +1061,7 @@ moves_loop: // When in check, search starts here
               // Futility pruning: parent node (~9 Elo)
               if (   !ss->inCheck
                   && lmrDepth < 8
-                  && ss->staticEval + 142 + 139 * lmrDepth + history / 64 <= alpha)
+                  && ss->staticEval + 138 + 137 * lmrDepth + history / 64 <= alpha)
                   continue;
 
               // Prune moves with negative SEE (~3 Elo)
@@ -1159,7 +1159,7 @@ moves_loop: // When in check, search starts here
               || !captureOrPromotion
               || (cutNode && (ss-1)->moveCount > 1)))
       {
-          Depth r = reduction(improving, depth, moveCount, rangeReduction > 2, delta, thisThread->rootDelta);
+          Depth r = reduction(improving, depth, moveCount, delta, thisThread->rootDelta);
 
           // Decrease reduction at some PvNodes (~2 Elo)
           if (   PvNode
@@ -1206,13 +1206,9 @@ moves_loop: // When in check, search starts here
 
           value = -search<NonPV>(pos, ss+1, -(alpha+1), -alpha, d, true);
 
-          // Range reductions (~3 Elo)
-          if (ss->staticEval - value < 30 && depth > 7)
-              rangeReduction++;
-
           // If the son is reduced and fails high it will be re-searched at full depth
           doFullDepthSearch = value > alpha && d < newDepth;
-          doDeeperSearch = value > alpha + 88;
+          doDeeperSearch = value > (alpha + 62 + 20 * (newDepth - d));
           didLMR = true;
       }
       else
@@ -1280,7 +1276,7 @@ moves_loop: // When in check, search starts here
                   rm.pv.push_back(*m);
 
               // We record how often the best move has been changed in each iteration.
-              // This information is used for time management and LMR. In MultiPV mode,
+              // This information is used for time management. In MultiPV mode,
               // we must take care to only do this for the first PV line.
               if (   moveCount > 1
                   && !thisThread->pvIdx)
index 7a5d5bdf47844de595fbdc1bf38def8bacfead8d..806295a1100f196811c745632b26568ed0ea4445 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index ffa54d9627bd684a01057bd21bf3a0104f19a0cf..7b9e8fb23b7754d470ed8a34b2103186ae1fa818 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 41e867c00a30249a9de2f5a063b68b205eb16cb0..a131524429939cde20141e53a624ca0c4c8e07e3 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index cf61b7675909bbb06957d5a93aa46d578cc14275..c2917fef636d53f0c8ed00e4ab709e5ddfe099de 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 099efbad24c4ee216510def67da31f4ad3b5d8fb..30177a3915a84c9245644d779ca6fe0d99bc5a2b 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 6bc1be658f8bba31a8da0e54c8a159ef3b7d8133..a6b0b5a0bc95577924856325ad70330d369c3661 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index a21674cc68f0ddbefef117e2884ddf83a027a884..77d1c3c7ef392c6bdca7c75c6cd41640a51a0c5b 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 69d1c96fa9822ed308a3bb04e54a97c7384a0821..0400401e77950302e01fdb3778d0ee21cc8a6101 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index b1878d65f25fca5e77fade3c3765966296ac4e81..a86f07693a010ab38a2b0ca183f410970d9d54f9 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 4af6c9f11a53d19212b1b7124ae215b4b47bd811..c7118aea3fc672647b55f97d488ff29262d16e95 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index d915d92e43f545da1826e8408e148e952c90316a..03fe3e143d1b9a46e6165772e92fa676367b8938 100644 (file)
--- a/src/tt.h
+++ b/src/tt.h
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index ac91b606fb12aecfbccd742318dbe85b495e743a..a885845f75086823c03a1b6439dcefdce39c5638 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 53d52a65b3bbcf9b55531035c241283dc24a17e1..75ab484acf066bff951e7d40b1e79d4e28e302b2 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 02cd19def775ab25fee2da23b63ebd19350330b1..a3a873fa4e7d07509ccf1f5278e92baa50b14496 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index b3738a4a76b8705a668db9bb38bcf879a03ed0d8..741241b327110983e3a49623887c8c85deefe5d1 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index d3160109d6e540e7f527976ff3cbb76613e39b46..5bb24a4ec65db098ff13cf01784cdd4f78613271 100644 (file)
--- a/src/uci.h
+++ b/src/uci.h
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
index 029137b7de083f44e53ed9f9277b8f546f95ba31..6adbbde1c1da83a1fa21da315658d67bbf02f7c2 100644 (file)
@@ -1,6 +1,6 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
-  Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file)
+  Copyright (C) 2004-2022 The Stockfish developers (see AUTHORS file)
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by