From: Evan Cheng Date: Wed, 31 Jan 2007 20:12:31 +0000 (+0000) Subject: Thumb asm syntax does not want 's' suffix for flag setting opcodes. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3471b60e9586c8923800b0ce1cea042efa2675e7;p=oota-llvm.git 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 --- diff --git a/lib/Target/ARM/ARMInstrThumb.td b/lib/Target/ARM/ARMInstrThumb.td index c5a48fcd0db..5fbd4121c43 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))]>;