add the and instruction

llvm-svn: 29793
This commit is contained in:
Rafael Espindola 2006-08-21 13:58:59 +00:00
parent 04f2246400
commit 9d77f9fd24
1 changed files with 4 additions and 0 deletions

View File

@ -92,3 +92,7 @@ def lea_addri : InstARM<(ops IntRegs:$dst, memri:$addr),
def subri : InstARM<(ops IntRegs:$dst, IntRegs:$a, i32imm:$b),
"sub $dst, $a, $b",
[(set IntRegs:$dst, (sub IntRegs:$a, imm:$b))]>;
def andrr : InstARM<(ops IntRegs:$dst, IntRegs:$a, IntRegs:$b),
"and $dst, $a, $b",
[(set IntRegs:$dst, (and IntRegs:$a, IntRegs:$b))]>;