This is a collection of Intel®’ IA32® Software Developer's Manuals (URL of the day) and AMD' AMD64 Architecture Programmer's Manual together with the related specifications, application notes, white papers, and change logs. The collection aims to keep all available revisions. It was originally created by Michal Necasek, see OS/2 Museum.

If you have a public document, related to the IA32® specifications and missing from the collection, please mail it to me. The content of this URL and all sub-ULRs is available for convenient bulk download by rsync x86docs password "" (empty).

GCSPUSHM

GCSPUSHM, Guarded Control Stack Push

The GCSPUSHM characteristics are:

Purpose

Decrements the current GCS pointer register by the size of a GCS procedure return record and stores an entry 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 GCSPUSHM are UNDEFINED.

Attributes

GCSPUSHM is a 64-bit System instruction.

Field descriptions

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
Input
Input

Input, bits [63:0]

Input value for GCS procedure return record.

Executing GCSPUSHM

This system instruction is an alias of the SYS instruction.

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

GCSPUSHM <Xt>

op0op1CRnCRmop2
0b010b0110b01110b01110b000

if !(IsFeatureImplemented(FEAT_GCS) && IsFeatureImplemented(FEAT_AA64)) then Undefined(); elsif PSTATE.EL == EL0 then if (!EL2Enabled() || HCR_EL2().TGE != '1') && GCSCRE0_EL1().PUSHMEn == '0' then AArch64_SystemAccessTrap(EL1, 0x18); elsif EL2Enabled() && HCR_EL2().TGE == '1' && GCSCRE0_EL1().PUSHMEn == '0' then AArch64_SystemAccessTrap(EL2, 0x18); elsif GCSEnabled(EL0) then GCSPUSHM(X{64}(t)); end; elsif PSTATE.EL == EL1 then if GCSCR_EL1().PUSHMEn == '0' then AArch64_SystemAccessTrap(EL1, 0x18); elsif EL2Enabled() && IsFeatureImplemented(FEAT_FGT) && (!HaveEL(EL3) || SCR_EL3().FGTEn == '1') && HFGITR_EL2().nGCSPUSHM_EL1 == '0' then AArch64_SystemAccessTrap(EL2, 0x18); elsif GCSEnabled(EL1) then GCSPUSHM(X{64}(t)); end; elsif PSTATE.EL == EL2 then if GCSCR_EL2().PUSHMEn == '0' then AArch64_SystemAccessTrap(EL2, 0x18); elsif GCSEnabled(EL2) then GCSPUSHM(X{64}(t)); end; elsif PSTATE.EL == EL3 then if GCSCR_EL3().PUSHMEn == '0' then AArch64_SystemAccessTrap(EL3, 0x18); elsif GCSEnabled(EL3) then GCSPUSHM(X{64}(t)); end; end;


2026-03-26 20:27:25, 2026-03_rel

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