Skip to content

Add magic bitboards - #332

Merged
wdotmathree merged 2 commits into
mainfrom
magic
May 31, 2026
Merged

wdotmathree merged 2 commits into
mainfrom
magic

Conversation

@wdotmathree

@wdotmathree wdotmathree commented May 31, 2026 •

Copy link
Copy Markdown
Collaborator

Add magic bitboards and use them instead of PEXT on systems that have slow PEXT (i.e. Zen1 and Zen2). Incidentally this also extends support to machines that don't support BMI2. (although AVX2 is still required so this doesn't actually do much....)

Elo   | 30.89 +- 10.08 (95%)
SPRT  | 4.0+0.04s Threads=1 Hash=32MB
LLR   | 2.97 (-2.25, 2.89) [0.00, 5.00]
Games | N: 1308 W: 381 L: 265 D: 662
Penta | [2, 115, 316, 207, 14]

https://ob.int0x80.ca/test/863/

Bench: 4495636

@wdotmathree wdotmathree self-assigned this May 31, 2026
@wdotmathree
wdotmathree requested a review from kevlu8 May 31, 2026 04:37
@wdotmathree wdotmathree added the enhancement New feature or request label May 31, 2026

@kevlu8 kevlu8 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lg tm

@wdotmathree
wdotmathree merged commit eb12951 into main May 31, 2026
2 checks passed
@kevlu8
kevlu8 deleted the magic branch May 31, 2026 04:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants