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.tkac...@arm.com> * gcc.target/arm/minmax_minus.c: Scan for absence of mov.
minmax_test.patch
Description: Binary data