This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH, AArch64] Support BICS instruction in the backend


> 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.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]