Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚡ Use Bmi1.X64.TrailingZeroCount and Popcnt.X64.PopCount hardware intrinsics #330

Merged
merged 1 commit into from
Aug 12, 2023

Conversation

eduherminio
Copy link
Member

@eduherminio eduherminio commented Aug 10, 2023

Use Bmi1.X64.TrailingZeroCount and Popcnt.X64.PopCount hardware intrinsics when available

Result: disappointment after 20k games

Score of Lynx 1177 - hw intrinsics vs Lynx 1176 - main: 7983 - 7884 - 4503  [0.502] 20370
...      Lynx 1177 - hw intrinsics playing White: 4760 - 3168 - 2257  [0.578] 10185
...      Lynx 1177 - hw intrinsics playing Black: 3223 - 4716 - 2246  [0.427] 10185
...      White vs Black: 9476 - 6391 - 4503  [0.576] 20370
Elo difference: 1.7 +/- 4.2, LOS: 78.4 %, DrawRatio: 22.1 %
SPRT: llr -0.879 (-29.9%), lbound -2.94, ubound 2.94

@eduherminio eduherminio marked this pull request as ready for review August 12, 2023 19:15
@eduherminio eduherminio changed the title Use Bmi1.X64.TrailingZeroCount and Popcnt.X64.PopCount ⚡ Use Bmi1.X64.TrailingZeroCount and Popcnt.X64.PopCount hardware intrinsics Aug 12, 2023
@eduherminio eduherminio merged commit 519d693 into main Aug 12, 2023
18 checks passed
@eduherminio eduherminio deleted the perf/hardware-intrinsics branch August 12, 2023 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant