add the orr instruction
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 6 Sep 2006 18:03:12 +0000 (18:03 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 6 Sep 2006 18:03:12 +0000 (18:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30125 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.td

index 0b47581f849cb157683cd1bbd4fbde113daf1a86..58c7b40608af1a0c0a074222f847f733fb3c7837 100644 (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",