thumb2.md (thumb2_negscc): Match the correct operand for optimized LT0 test.
2008-09-01 Paul Brook <paul@codesourcery.com> gcc/ * config/arm/thumb2.md (thumb2_negscc): Match the correct operand for optimized LT0 test. Remove optimization for GT. From-SVN: r139873
This commit is contained in:
parent
4b73871861
commit
48c23a6c39
2 changed files with 6 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -755,15 +755,12 @@
|
|||
(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);
|
||||
|
|
Loading…
Add table
Reference in a new issue