[AArch64] Add support for SVE absolute comparisons

Programming / Compilers / GCC - rsandifo [138bc75d-0d04-0410-961f-82ee72b054a4] - 14 August 2019 09:28 EDT

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

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

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

59b9a16d27b [AArch64] Add support for SVE absolute comparisons
gcc/ChangeLog | 6 +++
gcc/config/aarch64/aarch64-sve.md | 44 +++++++++++++++++++++-
gcc/config/aarch64/iterators.md | 5 +++
gcc/testsuite/ChangeLog | 5 +++
gcc/testsuite/gcc.target/aarch64/sve/vcond_21.c | 34 +++++++++++++++++
.../gcc.target/aarch64/sve/vcond_21_run.c | 31 +++++++++++++++
6 files changed, 123 insertions(+), 2 deletions(-)

Upstream: gcc.gnu.org


  • Share