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.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
1 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | imm16 | 1 | 1 | 1 | 1 | 1 | |||||||||||||||
sf | opc | Rd |
AUTIASPPC <label>
if !IsFeatureImplemented(FEAT_PAuth_LR) then UNDEFINED; constant integer d = 30; bits(64) offset = ZeroExtend(imm16:'00', 64); boolean auth_combined = FALSE;
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.