GCSPOPX, Guarded Control Stack Pop exception return record

The GCSPOPX characteristics are:

Purpose

Loads an exception return record from the location indicated by the current Guarded control stack pointer register, checks that the record is a Guarded control stack exception return record, and increments the current Guarded control stack pointer register by the size of a Guarded control stack exception return record.

Configuration

This instruction is present only when FEAT_GCS is implemented. Otherwise, direct accesses to GCSPOPX are UNDEFINED.

Attributes

GCSPOPX is a 64-bit System instruction.

Field descriptions

This instruction has no applicable fields.

The value in the register specified by <Xt> is ignored.

Executing GCSPOPX

Rt should be encoded as 0b11111. If the Rt field is not set to 0b11111, it is CONSTRAINED UNPREDICTABLE whether:

Accesses to this instruction use the following encodings in the System instruction encoding space:

GCSPOPX

op0op1CRnCRmop2
0b010b0000b01110b01110b110

if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then GCSPOPX(); elsif PSTATE.EL == EL2 then GCSPOPX(); elsif PSTATE.EL == EL3 then GCSPOPX();


04/07/2023 11:26; 1b994cb0b8c6d1ae5a9a15edbc8bd6ce3b5c7d68

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