Commit 108a579c by Daniel Bornstein Committed by Richard Earnshaw

re PR target/17019 (THUMB: bad switch statement in md code for addsi3_cbranch_scratch)

From Daniel Bornstein  <danfuzz@milk.com>
PR target/17019
* arm.md (addsi3_cbranch_scratch): Correct case labels.

From-SVN: r86114
parent cc24a60e
2004-08-17 Daniel Bornstein <danfuzz@milk.com>
PR target/17019
* arm.md (addsi3_cbranch_scratch): Correct case labels.
2004-08-17 Paolo Bonzini <bonzini@gnu.org> 2004-08-17 Paolo Bonzini <bonzini@gnu.org>
PR middle-end/17036 PR middle-end/17036
......
...@@ -6442,10 +6442,10 @@ ...@@ -6442,10 +6442,10 @@
case 1: case 1:
output_asm_insn (\"cmn\t%1, %2\", operands); output_asm_insn (\"cmn\t%1, %2\", operands);
break; break;
case 3: case 2:
output_asm_insn (\"add\t%0, %1, %2\", operands); output_asm_insn (\"add\t%0, %1, %2\", operands);
break; break;
case 4: case 3:
output_asm_insn (\"add\t%0, %0, %2\", operands); output_asm_insn (\"add\t%0, %0, %2\", operands);
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment