add ADDS and ADCS

llvm-svn: 30830
This commit is contained in:
Rafael Espindola 2006-10-09 17:18:28 +00:00
parent 319b5e9c95
commit f917f096e2

View File

@ -117,6 +117,14 @@ def ADD : InstARM<(ops IntRegs:$dst, IntRegs:$a, op_addr_mode1:$b),
"add $dst, $a, $b",
[(set IntRegs:$dst, (add IntRegs:$a, addr_mode1:$b))]>;
def ADCS : InstARM<(ops IntRegs:$dst, IntRegs:$a, op_addr_mode1:$b),
"adcs $dst, $a, $b",
[(set IntRegs:$dst, (adde IntRegs:$a, addr_mode1:$b))]>;
def ADDS : InstARM<(ops IntRegs:$dst, IntRegs:$a, op_addr_mode1:$b),
"adds $dst, $a, $b",
[(set IntRegs:$dst, (addc IntRegs:$a, addr_mode1:$b))]>;
// "LEA" forms of add
def lea_addri : InstARM<(ops IntRegs:$dst, memri:$addr),
"add $dst, ${addr:arith}",