We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e5b2f0 commit 3b495f6Copy full SHA for 3b495f6
1 file changed
Python/cpuinfo.c
@@ -25,7 +25,6 @@
25
# undef HAS_XGETBV_SUPPORT
26
#endif
27
28
-#undef HAS_CPUID_SUPPORT
29
#undef HAS_XGETBV_SUPPORT
30
31
// Below, we declare macros for guarding the detection of SSE, AVX/AVX2
@@ -116,6 +115,11 @@
116
115
# define SHOULD_PARSE_CPUID_L7S1
117
118
+#undef SHOULD_PARSE_CPUID_L1
119
+#undef SHOULD_PARSE_CPUID_L7
120
+#undef SHOULD_PARSE_CPUID_L7S0
121
+#undef SHOULD_PARSE_CPUID_L7S1
122
+
123
#if defined(SHOULD_PARSE_CPUID_L7S0) && !defined(SHOULD_PARSE_CPUID_L7)
124
#error "SHOULD_PARSE_CPUID_L7S0 requires SHOULD_PARSE_CPUID_L7"
125
0 commit comments