[AArch64] Add support for SVE HF vconds
authorRichard Sandiford <richard.sandiford@arm.com>
Wed, 14 Aug 2019 08:25:56 +0000 (08:25 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Wed, 14 Aug 2019 08:25:56 +0000 (08:25 +0000)
commita70965b114281553fa46cac9b8abab543f36793f
tree930a059dd9098ee3e2fd8b507f9109df246afa27
parent0254ed7970e64abd82f21aedf9373720a73671c7
[AArch64] Add support for SVE HF vconds

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

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

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<mode><v_fp_equiv>): 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.

From-SVN: r274420
gcc/ChangeLog
gcc/config/aarch64/aarch64-sve.md
gcc/config/aarch64/iterators.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/sve/vcond_17.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/vcond_17_run.c [new file with mode: 0644]