[AArch64] Add support for SVE absolute comparisons
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 14 Aug 2019 09:28:49 +0000 (09:28 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 14 Aug 2019 09:28:49 +0000 (09:28 +0000)
commit42b4e87d317377d6dcbb25ee2523da4a0c42478a
treebb9e10872a5d2bdb3bd1a76afbc495e1336cce2b
parent88a37c4d72899c5a3f5a7b2bca0ae0096f3270a3
[AArch64] Add support for SVE absolute comparisons

This patch adds support for floating-point absolute comparisons
FACLT and FACLE (aliased as FACGT and FACGE with swapped operands).

2019-08-14  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/aarch64/iterators.md (SVE_COND_FP_ABS_CMP): New iterator.
* config/aarch64/aarch64-sve.md (*aarch64_pred_fac<cmp_op><mode>):
New pattern.

gcc/testsuite/
* gcc.target/aarch64/sve/vcond_21.c: New test.
* gcc.target/aarch64/sve/vcond_21_run.c: Likewise.

From-SVN: r274443
gcc/ChangeLog
gcc/config/aarch64/aarch64-sve.md
gcc/config/aarch64/iterators.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/sve/vcond_21.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/vcond_21_run.c [new file with mode: 0644]