AUTIASPPC (immediate)

Authenticate return address, using key A (immediate). This instruction authenticates an instruction address, using two modifiers and key A.

If the authentication passes, the upper bits of the address are restored to enable subsequent use of the address. For information on behavior if the authentication fails, see Faulting on pointer authentication.

The address is in X30.

The first modifier is in SP.

The second modifier is the address of a program label.

Integer
(FEAT_PAuth_LR)

313029282726252423222120191817161514131211109876543210
11110011100imm1611111
sfopcRd

AUTIASPPC <label>

if !IsFeatureImplemented(FEAT_PAuth_LR) then UNDEFINED; bits(64) offset = ZeroExtend(imm16:'00', 64);

Assembler Symbols

<label>

Is the program label whose address is to be calculated. Its negative offset from the address of this instruction, a multiple of 4 in the range -262140 to 0, is encoded as an unsigned value in the "imm16" field as <label>/4.

Operation

bits(64) pac_addr = PC64 - offset; X[30, 64] = AuthIA2(X[30, 64], SP[], pac_addr, FALSE);


Internal version only: aarchmrs v2023-12_rel, pseudocode v2023-12_rel, sve v2023-12_rel ; Build timestamp: 2023-12-15T16:46

Copyright © 2010-2023 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.