1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 00:33:09 +00:00
BadFish/src
Dubslow c8213ba0d0 Simplify TT interface and avoid changing TT info
This commit builds on the work and ideas of #5345, #5348, and #5364.

Place as much as possible of the TT implementation in tt.cpp, rather than in the
header.  Some commentary is added to better document the public interface.

Fix the search read-TT races, or at least contain them to within TT methods only.

Passed SMP STC: https://tests.stockfishchess.org/tests/view/666134ab91e372763104b443
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 512552 W: 132387 L: 132676 D: 247489
Ptnml(0-2): 469, 58429, 138771, 58136, 471

The unmerged version has bench identical to the other PR (see also #5348) and
therefore those same-functionality tests:

SMP LTC: https://tests.stockfishchess.org/tests/view/665c7021fd45fb0f907c214a
SMP LTC: https://tests.stockfishchess.org/tests/view/665d28a7fd45fb0f907c5495

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

bench 1205675
2024-06-12 09:17:04 +02:00
..
incbin Cleanup comments 2023-12-31 19:54:27 +01:00
nnue Workaround the clang-format inconsistencies 2024-06-08 23:09:02 +02:00
syzygy Remove global TB variables from search.cpp 2024-01-17 18:05:00 +01:00
benchmark.cpp Restore NPS output for Perft 2024-04-24 18:20:55 +02:00
benchmark.h Restore NPS output for Perft 2024-04-24 18:20:55 +02:00
bitboard.cpp Early Exit in Bitboards::sliding_attack() 2024-05-18 09:24:23 +02:00
bitboard.h Assorted cleanups 2024-02-11 19:52:00 +01:00
engine.cpp Add NumaPolicy "hardware" option that bypasses current processor affinity. 2024-06-05 21:01:45 +02:00
engine.h Improve performance on NUMA systems 2024-05-28 18:34:15 +02:00
evaluate.cpp Remove delta from evaluation 2024-06-08 23:34:03 +02:00
evaluate.h Update default smallnet to nn-37f18f62d772.nnue 2024-06-01 19:59:07 +02:00
main.cpp Transform search output to engine callbacks 2024-04-05 21:03:58 +02:00
Makefile Change PGO type for clang 2024-06-08 23:05:56 +02:00
memory.cpp Add helpers for managing aligned memory 2024-06-03 23:11:59 +02:00
memory.h Add helpers for managing aligned memory 2024-06-03 23:11:59 +02:00
misc.cpp Add helpers for managing aligned memory 2024-06-03 23:11:59 +02:00
misc.h Add helpers for managing aligned memory 2024-06-03 23:11:59 +02:00
movegen.cpp Change the Move enum to a class 2024-01-04 15:51:04 +01:00
movegen.h Change the Move enum to a class 2024-01-04 15:51:04 +01:00
movepick.cpp Simplify continuation histories 2024-06-03 23:12:13 +02:00
movepick.h Add cmath header to movepick.h 2024-03-20 16:36:18 +01:00
numa.h NumaPolicy fixes and robustness improvements 2024-06-08 23:32:27 +02:00
perft.h Restore NPS output for Perft 2024-04-24 18:20:55 +02:00
position.cpp Remove PSQT-only mode 2024-05-05 12:36:20 +02:00
position.h Assorted cleanups 2024-02-11 19:52:00 +01:00
score.cpp Fix wrong sign for 200 TB score 2024-04-13 22:05:19 +02:00
score.h Fix wrong sign for 200 TB score 2024-04-13 22:05:19 +02:00
search.cpp Simplify TT interface and avoid changing TT info 2024-06-12 09:17:04 +02:00
search.h Remove m512_hadd128x16_interleave() 2024-06-05 21:07:07 +02:00
thread.cpp Update clang-format to version 18 2024-06-05 21:41:43 +02:00
thread.h Add helpers for managing aligned memory 2024-06-03 23:11:59 +02:00
thread_win32_osx.h Refactor NativeThread start_routine 2024-01-21 12:21:01 +01:00
timeman.cpp Simplify tm, removing faster 1st move and 1.13 extraTime. 2024-06-01 20:12:36 +02:00
timeman.h Simplify tm, removing faster 1st move and 1.13 extraTime. 2024-06-01 20:12:36 +02:00
tt.cpp Simplify TT interface and avoid changing TT info 2024-06-12 09:17:04 +02:00
tt.h Simplify TT interface and avoid changing TT info 2024-06-12 09:17:04 +02:00
tune.cpp Workaround the clang-format inconsistencies 2024-06-08 23:09:02 +02:00
tune.h Split UCI into UCIEngine and Engine 2024-04-04 00:15:17 +02:00
types.h Adjust lowest depth constants to the natural place 2024-06-03 23:20:02 +02:00
uci.cpp Workaround the clang-format inconsistencies 2024-06-08 23:09:02 +02:00
uci.h Improve performance on NUMA systems 2024-05-28 18:34:15 +02:00
ucioption.cpp Improve performance on NUMA systems 2024-05-28 18:34:15 +02:00
ucioption.h Improve performance on NUMA systems 2024-05-28 18:34:15 +02:00