https://github.com/ckoparkar created https://github.com/llvm/llvm-project/pull/156472
This matches the corresponding features defined in avx512vlintrin.h. >From aeea852ddcd7d5be05f5681192cac2fdc7b34a3a Mon Sep 17 00:00:00 2001 From: Chaitanya Koparkar <[email protected]> Date: Tue, 2 Sep 2025 11:03:17 -0400 Subject: [PATCH] [X86] Clear EVEX512 feature for 128-bit and 256-bit FMA intrinsics This matches the corresponding features defined in avx512vlintrin.h. --- clang/lib/Headers/fmaintrin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/Headers/fmaintrin.h b/clang/lib/Headers/fmaintrin.h index d8ea489022b8f..5fba29e2a8ec3 100644 --- a/clang/lib/Headers/fmaintrin.h +++ b/clang/lib/Headers/fmaintrin.h @@ -15,8 +15,8 @@ #define __FMAINTRIN_H /* Define the default attributes for the functions in this file. */ -#define __DEFAULT_FN_ATTRS128 __attribute__((__always_inline__, __nodebug__, __target__("fma"), __min_vector_width__(128))) -#define __DEFAULT_FN_ATTRS256 __attribute__((__always_inline__, __nodebug__, __target__("fma"), __min_vector_width__(256))) +#define __DEFAULT_FN_ATTRS128 __attribute__((__always_inline__, __nodebug__, __target__("fma,no-evex512"), __min_vector_width__(128))) +#define __DEFAULT_FN_ATTRS256 __attribute__((__always_inline__, __nodebug__, __target__("fma,no-evex512"), __min_vector_width__(256))) #if defined(__cplusplus) && (__cplusplus >= 201103L) #define __DEFAULT_FN_ATTRS128_CONSTEXPR __DEFAULT_FN_ATTRS128 constexpr _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
