irg

Insert Random Tag

IRG <Xd|SP>, <Xn|SP>{, <Xm>}

Inserts a random Allocation Tag into a pointer (MTE).

Details

The Insert Random Tag instruction inserts a random Allocation Tag into a pointer (MTE).

Pseudocode Operation

// Inserts a random Allocation Tag into a pointer (MTE)

Example

IRG x0, x1

Encoding

Binary Layout
10011010110
Xm
000100
Xn
Xd
 
Format Data Processing
Opcode 0x9AC01000
Extension MTE (Memory Tagging)

Operands

  • Xd
    Dest Ptr
  • Xn
    Src Ptr
  • Xm
    Exclude Mask