GCSPUSHX
Guarded Control Stack Push exception return record
Decrements the current GCS pointer register by the size of a GCS exception return record and stores a GCS exception return record to the Guarded Control Stack.
Configuration
This instruction is present only when FEAT_GCS is implemented and FEAT_AA64 is implemented. Otherwise, direct accesses to GCSPUSHX are UNDEFINED.
Attributes
GCSPUSHX 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 GCSPUSHX
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.
This system instruction is an alias of the SYS instruction.
Accesses to this instruction use the following encodings in the System instruction encoding space:
GCSPUSHX
(op0 = 0b01, op1 = 0b000, CRn = 0b0111, CRm = 0b0111, op2 = 0b100)
if !(IsFeatureImplemented(FEAT_GCS) && IsFeatureImplemented(FEAT_AA64)) then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if IsFeatureImplemented(FEAT_GCS) && GetCurrentEXLOCKEN() && !Halted() && PSTATE.EXLOCK == '0' then
EXLOCKException();
elsif EL2Enabled() && IsFeatureImplemented(FEAT_FGT) && (!HaveEL(EL3) || SCR_EL3().FGTEn == '1') && HFGITR_EL2().nGCSEPP == '0' then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif GCSEnabled(EL1) then
GCSPUSHX();
end;
elsif PSTATE.EL == EL2 then
if IsFeatureImplemented(FEAT_GCS) && GetCurrentEXLOCKEN() && !Halted() && PSTATE.EXLOCK == '0' then
EXLOCKException();
elsif GCSEnabled(EL2) then
GCSPUSHX();
end;
elsif PSTATE.EL == EL3 then
if IsFeatureImplemented(FEAT_GCS) && GetCurrentEXLOCKEN() && !Halted() && PSTATE.EXLOCK == '0' then
EXLOCKException();
elsif GCSEnabled(EL3) then
GCSPUSHX();
end;
end;
Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.
This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.