diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2021-01-11 18:03:20 +0000 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2021-01-11 18:03:20 +0000 |
commit | b81fbfe1eb5759999c69349d6291d27444585fee (patch) | |
tree | b5e7ed6af8fe0b341d1af10a82437c166ce19303 /gcc/tree-predcom.c | |
parent | cbe9758ff494d55d558a2a0c5e8702c50fcebdf0 (diff) | |
download | gcc-b81fbfe1eb5759999c69349d6291d27444585fee.zip gcc-b81fbfe1eb5759999c69349d6291d27444585fee.tar.gz gcc-b81fbfe1eb5759999c69349d6291d27444585fee.tar.bz2 |
aarch64: Add support for unpacked SVE shifts
This patch adds support for unpacked SVE LSL, ASR and LSR.
For right shifts, the type suffix needs to be taken from the
element size rather than the container size.
gcc/
* config/aarch64/aarch64-sve.md (<ASHIFT:optab><mode>3)
(v<ASHIFT:optab><mode>3, @aarch64_pred_<optab><mode>)
(*post_ra_v<ASHIFT:optab><mode>3): Extend from SVE_FULL_I to SVE_I.
gcc/testsuite/
* gcc.target/aarch64/sve/shift_2.c: New test.
Diffstat (limited to 'gcc/tree-predcom.c')
0 files changed, 0 insertions, 0 deletions