clrex
Clear Exclusive (Thumb)
CLREX
Clears exclusive monitor (Thumb).
Pseudocode Operation
ExclusiveMonitors.Clear()
Encoding
Binary Layout
111100111011
31:20
1
19
1
18
1
17
1
16
10
15:14
0
13
0
12
1
11
1
10
1
9
1
8
0010
7:4
1111
3:0
Operands
Reference
View in Arm A64 ISA Reference ↗
Arm AArch32 ISA
Instruction Forms
| Encoding | Instruction | ISA | Bit pattern | ||
|---|---|---|---|---|---|
| 0xF57FF01F | CLREX{<c>}{<q>} | A32 | 111101010111 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0001 | 1111 | ||
| 0xF3BF8F2F | CLREX{<c>}{<q>} | T32 | 111100111011 | 1 | 1 | 1 | 1 | 10 | 0 | 0 | 1 | 1 | 1 | 1 | 0010 | 1111 |
Description
Clear-Exclusive clears the local monitor of the executing PE.
Operation
if ConditionPassed() then
EncodingSpecificOperations();
ClearExclusiveLocal(ProcessorID());