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; constant integer d = 30; bits(64) offset = ZeroExtend(imm16:'00', 64); boolean auth_combined = FALSE;

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[d, 64] = AuthIA2(X[d, 64], SP[], pac_addr, auth_combined);


Internal version only: aarchmrs v2024-03_relA, pseudocode v2024-03_rel, sve v2024-03_rel ; Build timestamp: 2024-03-26T09:45

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