The GCSPOPX characteristics are:
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.
This instruction is present only when FEAT_GCS is implemented. Otherwise, direct accesses to GCSPOPX are UNDEFINED.
GCSPOPX is a 64-bit System instruction.
This instruction has no applicable fields.
The value in the register specified by <Xt> is ignored.
Rt should be encoded as 0b11111. If the Rt field is not set to 0b11111, it is CONSTRAINED UNPREDICTABLE whether:
The instruction is UNDEFINED.
The instruction behaves as if the Rt field is set to 0b11111.
Accesses to this instruction use the following encodings in the System instruction encoding space:
op0 | op1 | CRn | CRm | op2 |
---|---|---|---|---|
0b01 | 0b000 | 0b0111 | 0b0111 | 0b110 |
if !IsFeatureImplemented(FEAT_GCS) then UNDEFINED; elsif PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if GCSEnabled(EL1) then GCSPOPX(); elsif PSTATE.EL == EL2 then if GCSEnabled(EL2) then GCSPOPX(); elsif PSTATE.EL == EL3 then if GCSEnabled(EL3) then GCSPOPX();
15/12/2024 22:27; 5e0a212688c6bd7aee92394b6f5e491b4d0fee1d
Copyright © 2010-2024 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.