diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-01-31 20:12:31 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-01-31 20:12:31 +0000 |
commit | 3471b60e9586c8923800b0ce1cea042efa2675e7 (patch) | |
tree | d50b23c15f4f9f56a08937b521a9edec48a84d1c | |
parent | aeacab2e6d28a61cc21c71ea8783614a2a0f8fbd (diff) |
Thumb asm syntax does not want 's' suffix for flag setting opcodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33717 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMInstrThumb.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td index c5a48fcd0d..5fbd4121c4 100644 --- a/lib/Target/ARM/ARMInstrThumb.td +++ b/lib/Target/ARM/ARMInstrThumb.td @@ -284,7 +284,7 @@ def tADC : TIt<(ops GPR:$dst, GPR:$lhs, GPR:$rhs), [(set GPR:$dst, (adde GPR:$lhs, GPR:$rhs))]>; def tADDS : TI<(ops GPR:$dst, GPR:$lhs, GPR:$rhs), - "adds $dst, $lhs, $rhs", + "add $dst, $lhs, $rhs", [(set GPR:$dst, (addc GPR:$lhs, GPR:$rhs))]>; @@ -423,7 +423,7 @@ def tSBC : TIt<(ops GPR:$dst, GPR:$lhs, GPR:$rhs), [(set GPR:$dst, (sube GPR:$lhs, GPR:$rhs))]>; def tSUBS : TI<(ops GPR:$dst, GPR:$lhs, GPR:$rhs), - "subs $dst, $lhs, $rhs", + "sub $dst, $lhs, $rhs", [(set GPR:$dst, (subc GPR:$lhs, GPR:$rhs))]>; |