Author: Chaitanya Koparkar Date: 2025-09-03T11:15:11+08:00 New Revision: 9c3961f4f60d7d6de189addfb81d43e05300600e
URL: https://github.com/llvm/llvm-project/commit/9c3961f4f60d7d6de189addfb81d43e05300600e DIFF: https://github.com/llvm/llvm-project/commit/9c3961f4f60d7d6de189addfb81d43e05300600e.diff LOG: [X86] Clear EVEX512 feature for 128-bit and 256-bit FMA intrinsics (#156472) This matches the corresponding features defined in avx512vlintrin.h. Added: Modified: clang/lib/Headers/fmaintrin.h Removed: ################################################################################ diff --git a/clang/lib/Headers/fmaintrin.h b/clang/lib/Headers/fmaintrin.h index d8ea489022b8f..a1c117e5f9d89 100644 --- a/clang/lib/Headers/fmaintrin.h +++ b/clang/lib/Headers/fmaintrin.h @@ -15,8 +15,12 @@ #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
