1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Added CLREX (Clear-Exclusive) for disassembly only.

A8.6.30

llvm-svn: 96523
This commit is contained in:
Johnny Chen 2010-02-17 22:37:58 +00:00
parent ea55421ec2
commit 69bbc8c81b

View 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,