-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use dense precomputed fixed shift magics
These densely packed fixed shift magics computed by Volker Annuss achieve a considerably smaller table size than the current magics with variable shift. PEXT-Bitboards do not benefit (and replacing them would be a regression on bmi2). Speedup on x86-64-modern: base = 1848534 +/- 17362 test = 1863050 +/- 16807 diff = 14515 +/- 2490 speedup = 0.007853 No regression on x86-64-bmi2: base = 1892739 +/- 18354 test = 1892892 +/- 18460 diff = 153 +/- 3092 speedup = 0.000081 STC with disabled bmi2: LLR: 2.95 (-2.94,2.94) [0.00,5.00] Total: 46087 W: 8656 L: 8331 D: 29100 No functional change.
- Loading branch information
Showing
2 changed files
with
183 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters