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][ARM] Fix gcc.target/arm/minmax_minus.c


On 26/07/13 15:44, Kyrylo Tkachov wrote:
Hi all,

The minmaxsi_minus.c test in gcc.target/arm/ was added to confirm that we
generate two conditional subtractions instead of two conditional moves and an
unconditional subtraction. It tests that by scanning for two conditional rsb
instructions. But now, the arm backend generates sub instructions instead of
rsb when compiling for Thumb2. They perform the same functionality, but makes
the testcase "fail".

This patch fixes the testacase by scanning for the absence of moves instead.

Ok for trunk?

Thanks,
Kyrill

2013-07-26  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* gcc.target/arm/minmax_minus.c: Scan for absence of mov.


OK.

R.



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