aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2019-08-14 10:53:10 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2019-08-14 10:53:10 +0000
commitb21f7d53095b253753c5622f99809e9c82fd3009 (patch)
tree0cade0fa05ef4856de9276a27402a575a3f99d30 /gcc/builtins.c
parent3c9f496337f754f7c22afb46b017871db5844a97 (diff)
downloadgcc-b21f7d53095b253753c5622f99809e9c82fd3009.zip
gcc-b21f7d53095b253753c5622f99809e9c82fd3009.tar.gz
gcc-b21f7d53095b253753c5622f99809e9c82fd3009.tar.bz2
[AArch64] Add SVE conditional floating-point unary patterns
This patch adds patterns to match conditional unary operations on floating-point modes. At the moment we rely on combine to merge separate arithmetic and vcond_mask operations, and since the latter doesn't accept zero operands, we miss out on the opportunity to use the movprfx /z alternative. (This alternative is tested by the ACLE patches though.) 2019-08-14 Richard Sandiford <richard.sandiford@arm.com> Kugan Vivekanandarajah <kugan.vivekanandarajah@linaro.org> gcc/ * config/aarch64/aarch64-sve.md (*cond_<SVE_COND_FP_UNARY:optab><SVE_F:mode>_2): New pattern. (*cond_<SVE_COND_FP_UNARY:optab><SVE_F:mode>_any): Likewise. gcc/testsuite/ * gcc.target/aarch64/sve/cond_unary_1.c: Add tests for floating-point types. * gcc.target/aarch64/sve/cond_unary_2.c: Likewise. * gcc.target/aarch64/sve/cond_unary_3.c: Likewise. * gcc.target/aarch64/sve/cond_unary_4.c: Likewise. Co-Authored-By: Kugan Vivekanandarajah <kuganv@linaro.org> From-SVN: r274477
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions