[clang] [X86][AVX10] Permit AVX512 options/features used together with AVX10 (PR #71318)

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 9 05:47:24 PST 2023


================
@@ -50,11 +50,11 @@ typedef __bf16 __m128bh __attribute__((__vector_size__(16), __aligned__(16)));
 
 /* Define the default attributes for the functions in this file. */
 #define __DEFAULT_FN_ATTRS                                                     \
-  __attribute__((__always_inline__, __nodebug__, __target__("sse2"),           \
-                 __min_vector_width__(128)))
+  __attribute__((__always_inline__, __nodebug__,                               \
+                 __target__("sse2,no-evex512"), __min_vector_width__(128)))
 #define __DEFAULT_FN_ATTRS_MMX                                                 \
-  __attribute__((__always_inline__, __nodebug__, __target__("mmx,sse2"),       \
-                 __min_vector_width__(64)))
+  __attribute__((__always_inline__, __nodebug__,                               \
----------------
phoebewang wrote:

The same reason as above.

https://github.com/llvm/llvm-project/pull/71318


More information about the cfe-commits mailing list