summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-03-02 22:11:06 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-03-02 22:11:06 +0000
commit7041f2cef60a00c5fb8abcfac6c6ac44bb1b8456 (patch)
tree21e6880cd54a54d37f081c46c3e85672a452b7b0
parentb86044b7b73e49a1e3c45af1351b226da7fb93a6 (diff)
downloadbcm5719-llvm-7041f2cef60a00c5fb8abcfac6c6ac44bb1b8456.tar.gz
bcm5719-llvm-7041f2cef60a00c5fb8abcfac6c6ac44bb1b8456.zip
Added 32-bit Thumb instruction CLREX (Clear-Exclusive) for disassembly only.
llvm-svn: 97595
-rw-r--r--llvm/lib/Target/ARM/ARMInstrThumb2.td10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb2.td b/llvm/lib/Target/ARM/ARMInstrThumb2.td
index c7824402c2f..c3700df1867 100644
--- a/llvm/lib/Target/ARM/ARMInstrThumb2.td
+++ b/llvm/lib/Target/ARM/ARMInstrThumb2.td
@@ -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
//
OpenPOWER on IntegriCloud