![]() Initially, correct formatting is not required, it will beĭone by maintainers as part of the merge or in later commits, but obviously this is encouraged. Used suite of tools and compilers (llvm / clang).Īdditionally, a CI action is present that will verify if the code requires formatting,Īnd comment on the PR as needed. with, brew install clang-format, etc), as this is part of quite commonly Installing clang-format is straightforward on most OS and distros This requires clang-format (version 17 currently) to be installed locally. To facilitate formatting, this PR includes a Makefile target (`make format`) to format the code, Having a documented and consistent style across the code will make contributing easierįor new developers, and will make larger changes to the codebase easier to make. This introduces clang-format to enforce a consistent code style for Stockfish. This patch replaces std::min(ss->staticEval, bestValue) with ss->staticEval in the futilityBase formula. Performance improvement for the shell commands in the Makefile.īy using expanded variables, the shell commands are onlyĮvaluated once, instead of every time they are used.įix a compiler bug on Clang 15+ with AVX-512 Use expanded variables for shell commands It was declared (instead of implemented) and add descriptions to functions ![]() Things we can be improved later on, move the description of a function where ![]() slightly refactored code for lsb, msb in bitboard.h There are still a few remove the unnecessary duplication of the function name in the functions ![]() remove the blank line between the declaration of the function and it'sĬomment, leads to better IDE support when hovering over a function to see it's Remove blank line between function and it's description Many acknowledgements to for tuning the parameters and for the Scale the optimum time and maximum time parameters based on the amount of Total: 58048 W: 14693 L: 14501 D: 28854 Elo +1.15 Ptnml(0-2): 200, 6399, 15595, 6669, 161Ĭhanges some C style casts to C++ style, and fixes some incorrect comments and variable names.įollow up Makefile changes for clang-formatĪs reported on various OS, these changes help portabilityĢ. Windows 圆4 for Haswell CPUs Windows 圆4 for modern computers + AVX2 Windows 圆4 for modern computers Windows 圆4 + SSSE3 Windows 圆4 Linux 圆4 for Haswell CPUs Linux 圆4 for modern computers + AVX2 Linux 圆4 for modern computers Linux 圆4 + SSSE3 Linux 圆4 TUNE(SetRange(-54, 0), negSeeDepthMultSq) ![]() Update 5 search params for pruning at shallow depth !! latest version !! Windows 圆4 for Haswell CPUs Windows 圆4 for modern computers + AVX2 Windows 圆4 for modern computers Windows 圆4 + SSSE3 Windows 圆4 Linux 圆4 for Haswell CPUs Linux 圆4 for modern computers + AVX2 Linux 圆4 for modern computers Linux 圆4 + SSSE3 Linux 圆4 They are compiled with gcc 11.2/mingw 10 on Ubuntu 22.04. Stockfish Development Versions are build automatically if there are changes on the master branch in the git repository (). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |