On 01/05/13 18:45, Ian Bolton wrote:
From: Marcus Shawcroft [mailto:marcus.shawcr...@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.bol...@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