[PATCH] D143767: [SVE][Builtins] Lower X forms of fp binop/mla arithmetic builtins to dedicated intrinsics
Paul Walker via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 10 10:19:57 PST 2023
paulwalker-arm created this revision.
Herald added subscribers: ctetreau, psnobl, kristof.beyls, tschuett.
Herald added a reviewer: efriedma.
Herald added a project: All.
paulwalker-arm requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This patch changes the lowering for the following fp builtins to
emit calls to the new aarch64.sve.###.u intrinsics.
svabd_x, svabd_n_x
svadd_x, svadd_n_x
svdiv_x, svdiv_n_x
svdivr_x, svdivr_n_x
svmad_x, svmad_n_x
svmax_x, svmax_n_x
svmaxnm_x, svmaxnm_n_x
svmin_x, svmin_n_x
svminnm_x, svminnm_n_x
svmla_x, svmla_n_x
svmls_x, svmls_n_x
svmsb_x, svmsb_n_x
svmul_x, svmul_n_x
svmulx_x, svmulx_n_x
svnmad_x, svnmad_n_x
svnmla_x, svnmla_n_x
svnmls_x, svnmls_n_x
svnmsb_X, svnmsb_n_x
svsub_x, svsub_n_x
svsubr_x, svsubr_n_x
Depends on D143765 <https://reviews.llvm.org/D143765>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D143767
Files:
clang/include/clang/Basic/TargetBuiltins.h
clang/include/clang/Basic/arm_sve.td
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_abd.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_add.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_div.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_divr.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mad.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_max.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_maxnm.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_min.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_minnm.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mla.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mls.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_msb.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mul.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_mulx.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmad.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmla.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmls.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_nmsb.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_sub.c
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_subr.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143767.496546.patch
Type: text/x-patch
Size: 226388 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230210/d0da2521/attachment-0001.bin>
More information about the cfe-commits
mailing list