[PATCH, AArch64] Support BICS instruction in the backend

Marcus Shawcroft marcus.shawcroft@arm.com
Wed May 1 18:03:00 GMT 2013


On 01/05/13 18:45, Ian Bolton wrote:
>> From: Marcus Shawcroft [mailto:marcus.shawcroft@gmail.com]
>> +  /* { dg-final { scan-assembler "bics\tx\[0-9\]+, x\[0-9\]+, x\[0-
>> 9\]+" } } */
>>
>> +  /* { dg-final { scan-assembler "bics\tx\[0-9\]+, x\[0-9\]+,
>> x\[0-9\]+, lsl 3" } } */
>>
>> Ian, These two patterns have the same issue Richard just highlighted
>> on your other patch, ie the first pattern will also match anything
>> matched by the second pattern.
>>
>> /Marcus
>>
>
> I've fixed the rules in the testcases and renamed the files to match
> naming conventions in the latest patch (attached).
>
> OK to commit?
>
> Cheers,
> Ian
>
>
> 2013-05-01  Ian Bolton  <ian.bolton@arm.com>
>
> gcc/
> 	* config/aarch64/aarch64.md (*and_one_cmpl<mode>3_compare0):
> 	New pattern.
> 	(*and_one_cmplsi3_compare0_uxtw): Likewise.
> 	(*and_one_cmpl_<SHIFT:optab><mode>3_compare0): Likewise.
> 	(*and_one_cmpl_<SHIFT:optab>si3_compare0_uxtw): Likewise.
>
>
> testsuite/
> 	* gcc.target/aarch64/bics_1.c: New test.
> 	* gcc.target/aarch64/bics_2.c: Likewise.
>
>

Can we have the patch attached ?

Cheers
/Marcus




More information about the Gcc-patches mailing list