1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 19:49:14 +00:00
BadFish/src
Stéphane Nicolet 8f081c86f7 Clean SIMD code a bit
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
2021-06-04 14:07:46 +02:00
..
incbin Embed default net, and simplify using non-default nets 2020-08-29 21:56:00 +02:00
nnue Clean SIMD code a bit 2021-06-04 14:07:46 +02:00
syzygy Small cleanups (march 2021) 2021-03-24 17:11:06 +01:00
benchmark.cpp Add Stockfish namespace. 2021-03-07 14:26:54 +01:00
bitbase.cpp Small cleanups (march 2021) 2021-03-24 17:11:06 +01:00
bitboard.cpp Small clean-up 2021-03-31 08:12:25 +02:00
bitboard.h Small clean-up 2021-03-31 08:12:25 +02:00
endgame.cpp Add Stockfish namespace. 2021-03-07 14:26:54 +01:00
endgame.h Add Stockfish namespace. 2021-03-07 14:26:54 +01:00
evaluate.cpp Simplify NNUE / classical evaluation selection 2021-05-30 21:30:15 +02:00
evaluate.h Update default net to nn-7e66505906a6.nnue 2021-06-03 16:25:44 +02:00
main.cpp Add Stockfish namespace. 2021-03-07 14:26:54 +01:00
Makefile Makefile: better "make clean" for Windows 2021-06-04 01:32:11 +02:00
material.cpp Small cleanups (march 2021) 2021-03-24 17:11:06 +01:00
material.h Add Stockfish namespace. 2021-03-07 14:26:54 +01:00
misc.cpp E2K: added support for MCST Elbrus 2000 CPU architecture 2021-05-11 19:45:14 +02:00
misc.h Cleanup and simplify NNUE code. 2021-04-25 13:16:30 +02:00
movegen.cpp Use if instead of goto 2021-05-19 19:38:44 +02:00
movegen.h Add Stockfish namespace. 2021-03-07 14:26:54 +01:00
movepick.cpp Add Stockfish namespace. 2021-03-07 14:26:54 +01:00
movepick.h Add Stockfish namespace. 2021-03-07 14:26:54 +01:00
pawns.cpp Small cleanups (march 2021) 2021-03-24 17:11:06 +01:00
pawns.h Add Stockfish namespace. 2021-03-07 14:26:54 +01:00
position.cpp Small clean-ups 2021-05-17 10:47:14 +02:00
position.h Compact position structures 2021-05-22 00:26:00 +02:00
psqt.cpp Add Stockfish namespace. 2021-03-07 14:26:54 +01:00
psqt.h Add Stockfish namespace. 2021-03-07 14:26:54 +01:00
search.cpp Introducing NodeType Root 2021-06-04 01:23:49 +02:00
search.h Replace distanceFromPv with a better logic 2021-04-06 18:23:35 +02:00
thread.cpp Small cleanups (march 2021) 2021-03-24 17:11:06 +01:00
thread.h Simplify reduction for consecutive fails 2021-05-22 19:02:36 +02:00
thread_win32_osx.h Add Stockfish namespace. 2021-03-07 14:26:54 +01:00
timeman.cpp Remove Tempo 2021-05-19 20:34:37 +02:00
timeman.h Remove Tempo 2021-05-19 20:34:37 +02:00
tt.cpp Add Stockfish namespace. 2021-03-07 14:26:54 +01:00
tt.h Add Stockfish namespace. 2021-03-07 14:26:54 +01:00
tune.cpp Remove BoolConditions from tuning code 2021-05-15 09:40:40 +02:00
tune.h Remove BoolConditions from tuning code 2021-05-15 09:40:40 +02:00
types.h Remove Tempo 2021-05-19 20:34:37 +02:00
uci.cpp Exporting the currently loaded network file 2021-05-11 19:36:11 +02:00
uci.h Add Stockfish namespace. 2021-03-07 14:26:54 +01:00
ucioption.cpp Add Stockfish namespace. 2021-03-07 14:26:54 +01:00