Restrict evex512 to clang 18-21 only

This commit is contained in:
Frank Denis
2026-03-16 20:52:58 +01:00
parent bf42676035
commit 79a59b7a0a
@@ -23,7 +23,7 @@
defined(HAVE_EMMINTRIN_H) && defined(HAVE_TMMINTRIN_H) && defined(HAVE_SMMINTRIN_H)
# ifdef __clang__
# if __clang_major__ >= 18
# if __clang_major__ >= 18 && __clang_major__ < 22
# pragma clang attribute push(__attribute__((target("sse2,ssse3,sse4.1,avx2,avx512f,evex512"))), apply_to = function)
# else
# pragma clang attribute push(__attribute__((target("sse2,ssse3,sse4.1,avx2,avx512f"))), apply_to = function)