================
@@ -16,7 +16,15 @@
 
 #define __DEFAULT_FN_ATTRS_AVX512                                              
\
   __attribute__((__always_inline__, __nodebug__,                               
\
-                 __target__("amx-avx512,avx10.2-512")))
+                 __target__("amx-avx512")))
+
+#define __DEFAULT_FN_ATTRS_AVX512BF16                                          
\
+  __attribute__((__always_inline__, __nodebug__,                               
\
+                 __target__("amx-avx512,avx512bf16")))
+
+#define __DEFAULT_FN_ATTRS_AVX512FP16                                          
\
+  __attribute__((__always_inline__, __nodebug__,                               
\
+                 __target__("amx-avx512,avx512fp16")))
----------------
e-kud wrote:

Unfortunately I had to add `avx512bf16` as requirement because we don't have 
`bf16` register class without it. We need to decouple it from `hasBF16` first. 
I'll address it separately.

https://github.com/llvm/llvm-project/pull/148633
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to