From: Johnny Chen Date: Tue, 2 Mar 2010 22:11:06 +0000 (+0000) Subject: Added 32-bit Thumb instruction CLREX (Clear-Exclusive) for disassembly only. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=10a77e14a0b41ebb1c0ee9c07b28550d96acd60c;p=oota-llvm.git 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 --- diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td index c7824402c2f..c3700df1867 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 //