Files
Stockfish/src
Ondrej Mosnáček 8ff2fcf299 Refactor tbprobe.cpp
This involves:
 * replacing the union hacks with simply reusing the EntryPiece arrays
   for the no-pawns case
 * merging the PairsData structure with the EntryPiece/-Pawn structs
   (with credit to Marco: @mcostalba)
 * simplifying some HashTable functions
 * thanks to previous changes, removing the ugly memsets
 * simplifying the template logic for WDL/DTZ distinction
   (now we distinguish based on an enum type, not the entry classes)
 * removing the unneeded Atomic wrapper

-----------------------------

For reference, here is a manual way to check that patches concerning
table bases code are non-functional changes:

0) Download the Syzygy table bases (up to 6 men).
1) Make sure you have branches master and the pull request pointing to
   the right commits.
2) Download the bench calculation scripts from the following URL:

        https://gist.github.com/WOnder93/b5fcf9c989b4a1715684d5c82367cdbe

   and copy into src inside your Stockfish repo.
3) Make the scripts executable (chmod +x *.sh).
4) Run the following command to use TBs located at <path>:

       export SYZYGY_PATH='<path>'

5) After that, run this (it will take a long time, this is a deep bench):

       BENCH_ARGS='128 1 22' ./check_benches.sh master tbprobe_cleanup 2>/dev/null`

==> You should see two equal numbers printed.
    (Of course, now we have to trust that the script itself is correct :)

-----------------------------

Closes https://github.com/official-stockfish/Stockfish/pull/1477

No functional change.
2018-03-27 17:08:08 +02:00
..
2018-03-27 17:08:08 +02:00
2018-01-01 13:18:10 +01:00
2018-03-14 01:31:21 +01:00
2018-03-27 16:25:41 +02:00
2018-01-01 13:18:10 +01:00
2018-03-27 16:45:12 +02:00
2018-01-01 13:18:10 +01:00
2018-03-03 11:07:23 +01:00
2018-01-01 13:18:10 +01:00
2018-03-16 22:37:03 +01:00
2018-03-27 16:25:41 +02:00
2018-01-01 13:18:10 +01:00
2018-03-27 16:45:12 +02:00
2018-03-27 16:45:12 +02:00
2018-02-20 17:11:18 +01:00
2018-03-15 10:44:26 +01:00
2018-03-27 16:25:41 +02:00
2018-03-27 16:25:41 +02:00
2018-01-01 13:18:10 +01:00
2018-03-03 11:35:33 +01:00
2018-03-27 16:25:41 +02:00
2018-03-27 16:25:41 +02:00
2018-01-01 13:18:10 +01:00
2018-01-01 13:18:10 +01:00