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 | 05848363407c01d10b90db4db829002a26cfc062 (patch) | |
tree | 734351ed32574989ec626c4a6662005e00a3ee26 | |
parent | adb4954d9c931105c887b71b512936ee2d0fa146 (diff) | |
download | bcm5719-llvm-05848363407c01d10b90db4db829002a26cfc062.tar.gz bcm5719-llvm-05848363407c01d10b90db4db829002a26cfc062.zip |
Thumb asm syntax does not want 's' suffix for flag setting opcodes.
llvm-svn: 33717
-rw-r--r-- | llvm/lib/Target/ARM/ARMInstrThumb.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb.td b/llvm/lib/Target/ARM/ARMInstrThumb.td index c5a48fcd0db..5fbd4121c43 100644 --- a/llvm/lib/Target/ARM/ARMInstrThumb.td +++ b/llvm/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))]>; |