[AArch64] Add support for SVE HF vconds

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

We were missing vcond patterns that had HF comparisons and HI or HF data.

2019-08-14 Richard Sandiford

gcc/
- config/aarch64/iterators.md (SVE_HSD): New mode iterator. (V_FP_EQUIV, v_fp_equiv): Handle VNx8HI and VNx8HF.
- config/aarch64/aarch64-sve.md (vcond): Use SVE_HSD instead of SVE_SD.

gcc/testsuite/
- gcc.target/aarch64/sve/vcond_17.c: New test.
- gcc.target/aarch64/sve/vcond_17_run.c: Likewise.

546988a89dc [AArch64] Add support for SVE HF vconds
gcc/ChangeLog | 7 ++
gcc/config/aarch64/aarch64-sve.md | 8 +-
gcc/config/aarch64/iterators.md | 9 ++-
gcc/testsuite/ChangeLog | 5 ++
gcc/testsuite/gcc.target/aarch64/sve/vcond_17.c | 94 ++++++++++++++++++++++
.../gcc.target/aarch64/sve/vcond_17_run.c | 54 +++++++++++++
6 files changed, 171 insertions(+), 6 deletions(-)

Upstream: gcc.gnu.org


  • Share