]> git.sesse.net Git - stockfish/commit
Optimize make_index() using templates and lookup tables.
authormstembera <MissingEmail@email>
Fri, 14 Oct 2022 21:41:08 +0000 (14:41 -0700)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 16 Oct 2022 09:42:19 +0000 (11:42 +0200)
commit93f71ecfe1d26e5ccc813318f420b8363cd26003
tree876868e92611f77d8b36ef0b8136ba260525f939
parente90341f9c9cd24e75aba2485b2ab1e445f4a5b70
Optimize make_index() using templates and lookup tables.

https://tests.stockfishchess.org/tests/view/634517e54bc7650f07542f99
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 642672 W: 171819 L: 170658 D: 300195
Ptnml(0-2): 2278, 68077, 179416, 69336, 2229

this also introduces `-flto-partition=one` as suggested by MinetaS (Syine Mineta)
to avoid linking errors due to LTO on 32 bit mingw. This change was tested in isolation as well

https://tests.stockfishchess.org/tests/view/634aacf84bc7650f0755188b
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 119352 W: 31986 L: 31862 D: 55504
Ptnml(0-2): 439, 12624, 33400, 12800, 413

closes https://github.com/official-stockfish/Stockfish/pull/4199

No functional change
src/Makefile
src/nnue/features/half_ka_v2_hm.cpp
src/nnue/features/half_ka_v2_hm.h
src/nnue/nnue_feature_transformer.h