summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-02-17 22:37:58 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-02-17 22:37:58 +0000
commit1d793a5e0e4c9511c1f2ac7efe90fd7bad93ff86 (patch)
tree097e3af7ae03d87075614491eefd55f212fbbc7f /llvm/lib
parent004d280d5e9f258eaa3d9cd46709da5a6ab1ac51 (diff)
downloadbcm5719-llvm-1d793a5e0e4c9511c1f2ac7efe90fd7bad93ff86.tar.gz
bcm5719-llvm-1d793a5e0e4c9511c1f2ac7efe90fd7bad93ff86.zip
Added CLREX (Clear-Exclusive) for disassembly only.
A8.6.30 llvm-svn: 96523
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrInfo.td8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td
index d1793d099c0..2244a799046 100644
--- a/llvm/lib/Target/ARM/ARMInstrInfo.td
+++ b/llvm/lib/Target/ARM/ARMInstrInfo.td
@@ -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,
OpenPOWER on IntegriCloud