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.
2 parents c612632 + 65a74f2 commit 16d7c60Copy full SHA for 16d7c60
lib/x86simdsort.cpp
@@ -11,7 +11,7 @@ static int check_cpu_feature_support(std::string_view cpufeature)
11
12
if ((cpufeature == "avx512_spr") && (!disable_avx512))
13
#if defined(__FLT16_MAX__) && !defined(__INTEL_LLVM_COMPILER) \
14
- && __clang_major__ >= 18
+ && (!defined(__clang_major__) || __clang_major__ >= 18)
15
return __builtin_cpu_supports("avx512f")
16
&& __builtin_cpu_supports("avx512fp16")
17
&& __builtin_cpu_supports("avx512vbmi2");
0 commit comments