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 112f45b commit 3bdc63cCopy full SHA for 3bdc63c
cbits/measure_off.c
@@ -37,7 +37,7 @@
37
38
#if defined(__x86_64__) && defined(COMPILER_SUPPORTS_AVX512)
39
bool has_avx512_vl_bw() {
40
-#if __GNUC__ >= 6 || defined(__clang_major__)
+#if (__GNUC__ >= 7 || __GNUC__ == 6 && __GNUC_MINOR__ >= 3) || defined(__clang_major__)
41
uint32_t eax = 0, ebx = 0, ecx = 0, edx = 0;
42
__get_cpuid_count(7, 0, &eax, &ebx, &ecx, &edx);
43
// https://en.wikipedia.org/wiki/CPUID#EAX=7,_ECX=0:_Extended_Features
0 commit comments