]> git.sesse.net Git - stockfish/commit
Optimize the most common update accumalator cases w/o tiling
authormstembera <m_stembera@yahoo.com>
Sun, 1 Oct 2023 06:12:02 +0000 (23:12 -0700)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sun, 8 Oct 2023 05:42:39 +0000 (07:42 +0200)
commitc17a657b045d4dc720c8c36558fe649a1c3f4a05
tree290cd61346d79cb66bb57c0b8f0d2f7023545568
parent040dfedb3457ca6971d98c754362cde4dc767aff
Optimize the most common update accumalator cases w/o tiling

In the most common case where we only update a single state
it's faster to not use temporary accumulation registers and tiling.
(Also includes a couple of small cleanups.)

passed STC
https://tests.stockfishchess.org/tests/view/651918e3cff46e538ee0023b
LLR: 2.95 (-2.94,2.94) <0.00,2.00>
Total: 34944 W: 8989 L: 8687 D: 17268
Ptnml(0-2): 88, 3743, 9512, 4037, 92

A simpler version
https://tests.stockfishchess.org/tests/view/65190dfacff46e538ee00155
also passed but this version is stronger still
https://tests.stockfishchess.org/tests/view/6519b95fcff46e538ee00fa2

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

No functional change
src/misc.h
src/nnue/nnue_feature_transformer.h