clrex

Clear Exclusive (System)

CLREX {#<imm>}

Clears the local monitor state (AArch64 variant).

Pseudocode Operation

local_monitor_state ← CLEAR

Example

CLREX

Encoding

Binary Layout
11010101000000110011
31:12
CRm
11:8
010
7:5
11111
4:0
 
Format System
Opcode 0xD503305F
Extension Base (Atomic)

Operands

  • imm
    Optional

Related

Other forms of clrex

  • clrex Clear Exclusive (Thumb)
  • clrex Clear Exclusive (A32)

More in Base (Atomic)

Reference

Instruction Forms

Encoding Instruction ISA Bit pattern
0xD503305F CLREX {#<imm>} A64 11010101000000110011 | CRm | 010 | 11111

Description

Clear Exclusive clears the local monitor of the executing PE.

Operation

ClearExclusiveLocal(ProcessorID());