-
Notifications
You must be signed in to change notification settings - Fork 270
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
Update uarch detection for Intel processors #184
Conversation
720c0e0
to
547d168
Compare
@gchatelet, @Mizux, please review |
src/cpuinfo_x86.c
Outdated
@@ -20,6 +20,7 @@ | |||
|
|||
#include "internal/bit_utils.h" | |||
#include "internal/cpuid_x86.h" | |||
#include "internal/string_view.h" |
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.
added this line as CpuFeaturesStringView_CopyString doesn't work on Windows
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.
Can you rebase? I've fixed it in #187
src/cpuinfo_x86.c
Outdated
@@ -1700,7 +1747,7 @@ void FillX86BrandString(char brand_string[49]) { | |||
}; | |||
const size_t leaves_size = sizeof(leaves); | |||
#if __STDC_VERSION__ >= 201112L | |||
_Static_assert(leaves_size == 48, "Leaves must be packed"); | |||
_Static_assert(sizeof(leaves) == 48, "Leaves must be packed"); |
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.
I changed to sizeof(leaves)
due to #185
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.
same here
Thx for the patch! Can you rebase? |
yes, sure |
5ac4bd0
to
390baec
Compare
@gchatelet, updated |
Do you mind if we push #194 first and rebase this patch afterward? |
yes, don't mind |
You can to import your changes in |
053f3d1
to
d5b5629
Compare
d5b5629
to
372e822
Compare
@gchatelet, updated |
Thx for the PR! |
Added detection: