[PATCH][AArch64] Fix PR 64263: Do not try to split constants when destination is SIMD reg
Kyrill Tkachov
kyrylo.tkachov@arm.com
Fri Dec 12 15:33:00 GMT 2014
Hi all,
Since the movsi_aarch64 and movdi_aarch64 patterns became splitters we
want to make sure that the splitting happens only when we deal with GP
registers.
This patch guards the splitting part by GP_REGNUM_P rather than trying
to complicate aarch64_expand_mov_immediate too much to try and handle
the SIMD registers case.
A testcase is added.
Bootstrap on aarch64-none-linux-gnu and testing on aarch64-none-elf was
succesfull.
Ok for trunk?
Thanks,
Kyrill
2014-12-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
PR target/64263
* config/aarch64/aarch64.md (*movsi_aarch64): Don't split if the
destination is not a GP reg.
(*movdi_aarch64): Likewise.
2014-12-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/64263
* gcc.target/aarch64/pr64263_1.c: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aarch64-movdi-split.patch
Type: text/x-patch
Size: 1925 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141212/3b7fbc60/attachment.bin>
More information about the Gcc-patches
mailing list