[ARM] Do not expand movmisalign pattern if not in 32-bit mode
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 20 Nov 2015 15:19:09 +0000 (15:19 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 20 Nov 2015 15:19:09 +0000 (15:19 +0000)
commit8e92560a9c9c57dfed3283c48ef5e46a7e0204b1
tree7537684c2270e6e521ed169b8b6a13da9a61f96a
parent88fdc9a66e4b14aef5aa4b873223e4d081a8824c
[ARM] Do not expand movmisalign pattern if not in 32-bit mode

* config/arm/arm.c (arm_option_override): Require TARGET_32BIT
for unaligned_access.
* config/arm/arm.md (unaligned_loadsi): Remove redundant TARGET_32BIT
from matching condition.
(unaligned_loadhis): Likewise.
(unaligned_loadhiu): Likewise.
(unaligned_storesi): Likewise.
(unaligned_storehi): Likewise.

* gcc.target/arm/armv6-unaligned-load-ice.c: New test.

From-SVN: r230664
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/armv6-unaligned-load-ice.c [new file with mode: 0644]