[AArch64] Fix PR 64263: Do not try to split constants when destination is SIMD reg
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 16 Jan 2015 14:50:39 +0000 (14:50 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 16 Jan 2015 14:50:39 +0000 (14:50 +0000)
commitf2a03a7264db18a8098b958063e3e0ed0c9cafcd
tree7d9c95c807a621fd56505f3cff59dd45bff22ecb
parente989e68d934ac328137abc8a2d08b110fac96872
[AArch64] Fix PR 64263: Do not try to split constants when destination is SIMD reg

PR target/64263
* config/aarch64/aarch64.md (*movsi_aarch64): Don't split if the
destination is not a GP reg.
(*movdi_aarch64): Likewise.

* gcc.target/aarch64/pr64263_1.c: New test.

Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
From-SVN: r219745
gcc/ChangeLog
gcc/config/aarch64/aarch64.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pr64263_1.c [new file with mode: 0644]