[PATCH][AArch64] Fix PR 64263: Do not try to split constants when destination is SIMD reg

Kyrill Tkachov kyrylo.tkachov@arm.com
Fri Jan 16 13:54:00 GMT 2015


Ping.

Thanks,
Kyrill
On 09/01/15 11:32, Kyrill Tkachov wrote:
> Ping.
>
> https://gcc.gnu.org/ml/gcc-patches/2014-12/msg01116.html
>
> Thanks,
> Kyrill
>
> On 12/12/14 15:33, Kyrill Tkachov wrote:
>> 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.
>
>




More information about the Gcc-patches mailing list