diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-03-02 22:11:06 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-03-02 22:11:06 +0000 |
commit | 10a77e14a0b41ebb1c0ee9c07b28550d96acd60c (patch) | |
tree | 89b5744f23bd1bba1b6906eb42ae02092504c6a9 /lib | |
parent | d5e9e5f22176fbd0d18a558901e2786106fd03f5 (diff) |
Added 32-bit Thumb instruction CLREX (Clear-Exclusive) for disassembly only.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMInstrThumb2.td | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index c7824402c2..c3700df186 100644 --- a/lib/Target/ARM/ARMInstrThumb2.td +++ b/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 // |