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

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 4 23:57:42 PDT 2024


================
@@ -6898,3 +6898,115 @@ def int_x86_avx10_mask_vminmaxss_round : ClangBuiltin<"__builtin_ia32_vminmaxss_
         Intrinsic<[llvm_v4f32_ty], [llvm_v4f32_ty, llvm_v4f32_ty, llvm_i32_ty, llvm_v4f32_ty, llvm_i8_ty, llvm_i32_ty],
                   [IntrNoMem, ImmArg<ArgIndex<2>>, ImmArg<ArgIndex<5>>]>;
 }
+
+//===----------------------------------------------------------------------===//
+let TargetPrefix = "x86" in {
+def int_x86_avx10_vcvtnebf162ibs128 : ClangBuiltin<"__builtin_ia32_vcvtnebf162ibs128">,
+         Intrinsic<[llvm_v8i16_ty], [llvm_v8bf16_ty],
----------------
phoebewang wrote:

`DefaultAttrsIntrinsic`. The same below and I missed it for MINMAX patch.

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


More information about the llvm-commits mailing list