aarch64: Support conditional unpacked UXT on SVE
authorRichard Sandiford <richard.sandiford@arm.com>
Fri, 8 Jan 2021 10:49:37 +0000 (10:49 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Fri, 8 Jan 2021 10:49:37 +0000 (10:49 +0000)
commitf3c5d1fa53ad85424ce05f19583223ad2f413cfa
tree7eef962963610af509cb2f2ca9253f828642c42f
parent07fb24a3daf0a46e3e39c0bad99eae6e34e5aa0f
aarch64: Support conditional unpacked UXT on SVE

This patch extends the conditional UXT patterns from SVE_FULL_I
to SVE_I.  It doesn't matter in this case whether the type suffix
is taken from the element size or the container size.

gcc/
* config/aarch64/aarch64-sve.md (*cond_uxt<mode>_2): Extend from
SVE_FULL_I to SVE_I.
(*cond_uxt<mode>_any): Likewise.

gcc/testsuite/
* gcc.target/aarch64/sve/cond_uxt_5.c: New test.
* gcc.target/aarch64/sve/cond_uxt_5_run.c: Likewise.
* gcc.target/aarch64/sve/cond_uxt_6.c: Likewise.
* gcc.target/aarch64/sve/cond_uxt_6_run.c: Likewise.
* gcc.target/aarch64/sve/cond_uxt_7.c: Likewise.
* gcc.target/aarch64/sve/cond_uxt_7_run.c: Likewise.
* gcc.target/aarch64/sve/cond_uxt_8.c: Likewise.
* gcc.target/aarch64/sve/cond_uxt_8_run.c: Likewise.
gcc/config/aarch64/aarch64-sve.md
gcc/testsuite/gcc.target/aarch64/sve/cond_uxt_5.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/cond_uxt_5_run.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/cond_uxt_6.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/cond_uxt_6_run.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/cond_uxt_7.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/cond_uxt_7_run.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/cond_uxt_8.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/sve/cond_uxt_8_run.c [new file with mode: 0644]