projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0751603
)
(matcher for (shiftable_op (cond-exp) (reg))): If shiftable_op is
author
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 11 Jul 1995 00:03:06 +0000
(20:03 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 11 Jul 1995 00:03:06 +0000
(20:03 -0400)
minus, then subtract from zero when cond fails.
From-SVN: r10115
gcc/config/arm/arm.md
patch
|
blob
|
history
diff --git
a/gcc/config/arm/arm.md
b/gcc/config/arm/arm.md
index db8a357985728322fe2b87f084cffd73e643f586..2ccc61ea338212999e4d9847766edd2c195f4b4d 100644
(file)
--- a/
gcc/config/arm/arm.md
+++ b/
gcc/config/arm/arm.md
@@
-4114,6
+4114,8
@@
output_asm_insn (\"cmp\\t%2, %3\", operands);
if (GET_CODE (operands[5]) == AND)
output_asm_insn (\"mov%D4\\t%0, #0\", operands);
+ else if (GET_CODE (operands[5]) == MINUS)
+ output_asm_insn (\"rsb%D4\\t%0, %1, #0\", operands);
else if (which_alternative != 0)
output_asm_insn (\"mov%D4\\t%0, %1\", operands);
return \"%i5%d4\\t%0, %1, #1\";