+2008-09-01 Paul Brook <paul@codesourcery.com>
+
+ * config/arm/thumb2.md (thumb2_negscc): Match the correct operand for
+ optimized LT0 test. Remove optimization for GT.
+
2008-09-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa64-hpux.h (LIB_SPEC): Link against librt when building static
(clobber (reg:CC CC_REGNUM))]
"TARGET_THUMB2"
"*
- if (GET_CODE (operands[3]) == LT && operands[3] == const0_rtx)
+ if (GET_CODE (operands[3]) == LT && operands[2] == const0_rtx)
return \"asr\\t%0, %1, #31\";
if (GET_CODE (operands[3]) == NE)
return \"subs\\t%0, %1, %2\;it\\tne\;mvnne\\t%0, #0\";
- if (GET_CODE (operands[3]) == GT)
- return \"subs\\t%0, %1, %2\;it\\tne\;mvnne\\t%0, %0, asr #31\";
-
output_asm_insn (\"cmp\\t%1, %2\", operands);
output_asm_insn (\"ite\\t%D3\", operands);
output_asm_insn (\"mov%D3\\t%0, #0\", operands);