-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
Add VPCLMULQDQ crc32 tests to Google benchmarks #1651
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #1651 +/- ##
===========================================
+ Coverage 83.13% 83.15% +0.01%
===========================================
Files 135 135
Lines 10895 10898 +3
Branches 2816 2817 +1
===========================================
+ Hits 9058 9062 +4
Misses 1127 1127
+ Partials 710 709 -1 ☔ View full report in Codecov by Sentry. |
Strange, it seems this potentially discovered a crash on GCC benchmark with VPCLMULQDQ. @KungFuJesus maybe you can take a look? |
The test machine doesn't have AVX512, so it shouldn't try to use VPCLMULQDQ at all. So looks like the cpu check is possibly at fault somehow. |
Good observation I didn't think about that possibility. |
cce0872
to
a50fccc
Compare
I think I missed some of the logic for the benchmark condition. I found existing logic elsewhere and just copied it. |
a50fccc
to
cfabc28
Compare
That doesn't seem to have fixed it. So maybe there is a bug in CPU runtime detection.. |
Looks like that fixed it. |
Ah yea those Google testing/benchmark macros have a lot of boilerplate. |
No description provided.