Added 32-bit Thumb instruction CLREX (Clear-Exclusive) for disassembly only.
authorJohnny Chen <johnny.chen@apple.com>
Tue, 2 Mar 2010 22:11:06 +0000 (22:11 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Tue, 2 Mar 2010 22:11:06 +0000 (22:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97595 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrThumb2.td

index c7824402c2fcfc5fcc8fff471397661ce4ec9c25..c3700df1867c6351143aa9b553bbeae479b8f65f 100644 (file)
@@ -2098,6 +2098,16 @@ def t2STREXD : T2I_strex<0b11, (outs GPR:$success),
                          {?, ?, ?, ?}>;
 }
 
+// Clear-Exclusive is for disassembly only.
+def t2CLREX : T2I<(outs), (ins), NoItinerary, "clrex", "",
+                  [/* For disassembly only; pattern left blank */]>,
+            Requires<[IsARM, HasV7]>  {
+  let Inst{31-20} = 0xf3b;
+  let Inst{15-14} = 0b10;
+  let Inst{12} = 0;
+  let Inst{7-4} = 0b0010;
+}
+
 //===----------------------------------------------------------------------===//
 // TLS Instructions
 //