]> git.sesse.net Git - stockfish/commit - src/nnue/nnue_feature_transformer.h
Generalize the feature transform to use vec_t macros
authorBen Chaney <Chaneybenjamini@gmail.com>
Tue, 1 Mar 2022 22:49:02 +0000 (17:49 -0500)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Wed, 2 Mar 2022 22:39:08 +0000 (23:39 +0100)
commit270a0e737fea1774b409f70f378ca52cbc42dd3d
treef827d2db4f1cf05413a44919f3acfa8aa3d82dc7
parent4ac7d726ec5ba38ba593bca2ab5cb7589785a957
Generalize the feature transform to use vec_t macros

This commit generalizes the feature transform to use vec_t macros
that are architecture defined instead of using a seperate code path for each one.

It should make some old architectures (MMX, including improvements by Fanael) faster
and make further such improvements easier in the future.

Includes some corrections to CI for mingw.

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

No functional change
.github/workflows/stockfish.yml
AUTHORS
src/nnue/nnue_feature_transformer.h