add the orr instruction

llvm-svn: 30125
This commit is contained in:
Rafael Espindola 2006-09-06 18:03:12 +00:00
parent 95b7c7af2e
commit abd8bcbe5e
1 changed files with 4 additions and 0 deletions

View File

@ -113,6 +113,10 @@ def andrr : InstARM<(ops IntRegs:$dst, IntRegs:$a, IntRegs:$b),
"and $dst, $a, $b",
[(set IntRegs:$dst, (and IntRegs:$a, IntRegs:$b))]>;
def orr_rr : InstARM<(ops IntRegs:$dst, IntRegs:$a, IntRegs:$b),
"orr $dst, $a, $b",
[(set IntRegs:$dst, (or IntRegs:$a, IntRegs:$b))]>;
let isTwoAddress = 1 in {
def movcond : InstARM<(ops IntRegs:$dst, IntRegs:$false, IntRegs:$true, CCOp:$cc),
"mov$cc $dst, $true",