[PATCH] D82141: [sve][acle] Add SVE BFloat16 extensions.
Francesco Petrogalli via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 19 13:37:04 PDT 2020
fpetrogalli added inline comments.
================
Comment at: llvm/include/llvm/IR/IntrinsicsAArch64.td:1811
+def int_aarch64_sve_cvt_bf16f32 : Builtin_SVCVT<"svcvt_bf16_f32_m", llvm_nxv8bf16_ty, llvm_nxv8i1_ty, llvm_nxv4f32_ty>;
+def int_aarch64_sve_cvtnt_bf16f32 : Builtin_SVCVT<"svcvtnt_bf16_f32_m", llvm_nxv8bf16_ty, llvm_nxv8i1_ty, llvm_nxv4f32_ty>;
----------------
sdesmalen wrote:
> nit: use `fcvtbf` instead of `cvt` => `int_aarch64_sve_fcvtbf_bf16f32` ?
Renamed to `int_aarch64_sve_fcvt_bf16f32` and `int_aarch64_sve_fcvtnt_bf16f32` respectively, because I think it wouldn't make sense to add the `bf` suffix to the `cvtnt` version of the intrinsic.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82141/new/
https://reviews.llvm.org/D82141
More information about the cfe-commits
mailing list