clrex

Clear Exclusive (A32)

CLREX<c>

Clears the local exclusive access monitor.

Pseudocode Operation

if ConditionPassed() then
  ClearExclusiveMonitor()

Example

CLREX

Encoding

Binary Layout
111101010111
31:20
1
19
1
18
1
17
1
16
1
15
1
14
1
13
1
12
0
11
0
10
0
9
0
8
0001
7:4
1111
3:0
 
Format System
Opcode 0xF57FF01F
Extension A32 (Base)

Operands

Related

Other forms of clrex

  • clrex Clear Exclusive (Thumb)
  • clrex Clear Exclusive (System)

More in A32 (Base)

Reference

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());