xpaclri

Strip PAC from Instruction Address

XPACLRI

Removes the pointer authentication code from an instruction address.

Pseudocode Operation

LR ← StripPAC(LR)

Encoding

Binary Layout
11010101000000110010
31:12
0000
11:8
111
7:5
11111
4:0
 
Format System
Opcode 0xD50320FF
Extension PAC (Security)

Operands

Related

More in PAC (Security)

Reference

Instruction Forms

Encoding Instruction ISA Bit pattern
0xD50320FF XPACLRI A64 11010101000000110010 | 0000 | 111 | 11111

Description

Strip Pointer Authentication Code. This instruction removes the pointer authentication code from an address. The address is in the specified general-purpose register for XPACI and XPACD, and is in LR for XPACLRI. The XPACD instruction is used for data addresses, and XPACI and XPACLRI are used for instruction addresses.

Operation

if IsFeatureImplemented(FEAT_PAuth) then
    X[d, 64] = Strip(X[d, 64], data);