[clang] [llvm] [X86][AVX10.2] Support AVX10.2-BF16 new instructions. (PR #101603)

Freddy Ye via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 29 01:25:47 PDT 2024


================
@@ -7219,3 +7219,413 @@ def int_x86_avx10_mask_vcvtneph2hf8s512 : ClangBuiltin<"__builtin_ia32_vcvtneph2
         DefaultAttrsIntrinsic<[llvm_v32i8_ty], [llvm_v32f16_ty, llvm_v32i8_ty, llvm_i32_ty],
                               [IntrNoMem]>;
 }
+
+//===----------------------------------------------------------------------===//
+let TargetPrefix = "x86" in {
+  def int_x86_avx10_vaddnepbf16512
+      : ClangBuiltin<"__builtin_ia32_vaddnepbf16512">,
+        DefaultAttrsIntrinsic<[ llvm_v32bf16_ty ],
+                  [ llvm_v32bf16_ty, llvm_v32bf16_ty ],
+                  [ IntrNoMem ]>;
----------------
FreddyLeaf wrote:

[7957436](https://github.com/llvm/llvm-project/pull/101603/commits/7957436ac07d1902f3f510de756577c00353dd02)

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


More information about the cfe-commits mailing list