8000
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 ac1b165 commit 6f304f2Copy full SHA for 6f304f2
Python/cpuinfo.c
@@ -9,8 +9,8 @@
9
10
/* Macro to mark a CPUID register function parameter as being used. */
11
#define CPUID_REG(PARAM) PARAM
12
-/* Macro to check a CPUID register bit. */
13
-#define CPUID_CHECK_REG(REGISTER, MASK) ((REGISTER) & (MASK)) == 0 ? 0 : 1
+/* Macro to check one or more CPUID register bits. */
+#define CPUID_CHECK_REG(REG, MASK) ((((REG) & (MASK)) == (MASK)) ? 0 : 1)
14
15
/*
16
* For simplicity, we only enable SIMD instructions for Intel CPUs,
0 commit comments