[AArch64] Fix constraints for CPY /M
authorRichard Sandiford <richard.sandiford@arm.com>
Mon, 6 Jan 2020 13:00:04 +0000 (13:00 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 6 Jan 2020 13:00:04 +0000 (13:00 +0000)
commit3c2707f33af46ac145769872b65e25fd0b870903
treebd94c4e46c475be1208574e7dc7df8f88ce61b59
parent5960de787f57b15dfbd76aa9fa40552a34ea9d9b
[AArch64] Fix constraints for CPY /M

The constraints for CPY /M allowed p0-p15 instead of the intended p0-p7.
This looks like a pasto from the preceding constant pattern, where p0-p15
is allowed.

2020-01-06  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/aarch64/aarch64-sve.md (@aarch64_sel_dup<mode>): Use Upl
rather than Upa for CPY /M.

gcc/testsuite/
* gcc.target/aarch64/sve/acle/general/cpy_1.c: New test.

From-SVN: r279899
gcc/ChangeLog
gcc/config/aarch64/aarch64-sve.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/sve/acle/general/cpy_1.c [new file with mode: 0644]