diff options
author | Andrew Pinski <apinski@marvell.com> | 2020-02-08 15:57:54 +0000 |
---|---|---|
committer | Andrew Pinski <apinski@marvell.com> | 2020-02-08 15:48:06 -0800 |
commit | c2a4bf2d6edde8b148421668a4c07c844b994271 (patch) | |
tree | 6b67937e3ef6af840977f62d1005ed88b53bd37e /gcc/recog.c | |
parent | 4b39d801b2698d0f756231f6f8fa0be5a36f0c05 (diff) | |
download | gcc-c2a4bf2d6edde8b148421668a4c07c844b994271.zip gcc-c2a4bf2d6edde8b148421668a4c07c844b994271.tar.gz gcc-c2a4bf2d6edde8b148421668a4c07c844b994271.tar.bz2 |
aarch64: fix strict alignment for vector load/stores (PR 91927)
Hi,
The problem here is that the vector mode version of movmisalign<mode>
was only conditionalized on if SIMD was enabled instead of being
also conditionalized on STRICT_ALIGNMENT too.
Applied as pre-approved in the bug report by Richard Sandiford
after a bootstrap/test on aarch64-linux-gnu.
Thanks,
Andrew Pinski
ChangeLog:
PR target/91927
* config/aarch64/aarch64-simd.md (movmisalign<mode>): Check
STRICT_ALIGNMENT also.
testsuite/ChangeLog:
PR target/91927
* gcc.target/aarch64/pr91927.c: New testcase.
Diffstat (limited to 'gcc/recog.c')
0 files changed, 0 insertions, 0 deletions