]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/arm/mve.md
arm: Fix MVE constraints for movmisalign [PR target/99727]
authorChristophe Lyon <christophe.lyon@linaro.org>
Wed, 24 Mar 2021 08:51:41 +0000 (08:51 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Wed, 24 Mar 2021 14:22:48 +0000 (14:22 +0000)
commit79cdbabbc4cbf79491c274220928406dff3d4039
tree5ae8f573e28c425aedc0cbbb7da0a0a96d6ab359
parent70b738f96812c369b836d9a5bc5472f4634518bb
arm: Fix MVE constraints for movmisalign [PR target/99727]

MVE has different constraints than Neon for load/store: we should use
the Ux constraint instead of Um.

2021-03-24  Christophe Lyon  <christophe.lyon@linaro.org>

PR target/99727
gcc/
* config/arm/mve.md (movmisalign<mode>_mve_store): Use Ux
constraint.
(movmisalign<mode>_mve_load): Likewise.

gcc/testsuite/
* gcc.target/arm/pr99727.c: New test.
gcc/config/arm/mve.md
gcc/testsuite/gcc.target/arm/pr99727.c [new file with mode: 0644]