Added CLREX (Clear-Exclusive) for disassembly only.
authorJohnny Chen <johnny.chen@apple.com>
Wed, 17 Feb 2010 22:37:58 +0000 (22:37 +0000)
committerJohnny Chen <johnny.chen@apple.com>
Wed, 17 Feb 2010 22:37:58 +0000 (22:37 +0000)
A8.6.30

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96523 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMInstrInfo.td

index d1793d099c021750c04bcb691cc91f52d17a22b2..2244a79904605092eb844d6952838cd538a20d70 100644 (file)
@@ -2039,6 +2039,14 @@ def STREXD : AIstrex<0b01, (outs GPR:$success),
                     []>;
 }
 
+// Clear-Exclusive is for disassembly only.
+def CLREX : AXI<(outs), (ins), MiscFrm, NoItinerary, "clrex",
+                [/* For disassembly only; pattern left blank */]>,
+            Requires<[IsARM, HasV7]>  {
+  let Inst{31-20} = 0xf57;
+  let Inst{7-4} = 0b0001;
+}
+
 // SWP/SWPB are deprecated in V6/V7 and for disassembly only.
 let mayLoad = 1 in {
 def SWP : AI<(outs GPR:$dst), (ins GPR:$src, GPR:$ptr), LdStExFrm, NoItinerary,