You copied the Doc URL to your clipboard.

RETAA, RETAB

Return from subroutine, with pointer authentication.

Syntax

RETAA ; RETAA general registers

RETAB ; RETAB general registers

Architectures supported

Supported in Arm®v8.3-A architecture and later.

Usage

Return from subroutine, with pointer authentication. This instruction authenticates the address that is held in LR, using SP as the modifier and the specified key, branches to the authenticated address, with a hint that this instruction is a subroutine return.

Key A is used for RETAA, and key B is used for RETAB.

If the authentication passes, the PE continues execution at the target of the branch. If the authentication fails, a Translation fault is generated.

The authenticated address is not written back to LR.

Was this page helpful? Yes No