aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-predcom.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2021-01-11 18:03:20 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2021-01-11 18:03:20 +0000
commitb81fbfe1eb5759999c69349d6291d27444585fee (patch)
treeb5e7ed6af8fe0b341d1af10a82437c166ce19303 /gcc/tree-predcom.c
parentcbe9758ff494d55d558a2a0c5e8702c50fcebdf0 (diff)
downloadgcc-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