]> git.sesse.net Git - stockfish/commitdiff
Clean SIMD code a bit
authorStéphane Nicolet <cassio@free.fr>
Fri, 4 Jun 2021 11:56:40 +0000 (13:56 +0200)
committerStéphane Nicolet <cassio@free.fr>
Fri, 4 Jun 2021 12:07:46 +0000 (14:07 +0200)
Cleaner vector code structure in feature transformer. This patch just
regroups the parts of the inner loop for each SIMD instruction set.

Tested for non-regression:
LLR: 2.96 (-2.94,2.94) <-2.50,0.50>
Total: 115760 W: 9835 L: 9831 D: 96094
Ptnml(0-2): 326, 7776, 41715, 7694, 369
https://tests.stockfishchess.org/tests/view/60b96b39457376eb8bcaa26e

It would be nice if a future patch could use some of the macros at
the top of the file to unify the code between the distincts SIMD
instruction sets (of course, unifying the Relu will be the challenge).

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

No functional change


No differences found