GCSPOPM, Guarded Control Stack Pop

The GCSPOPM characteristics are:

Purpose

Loads the 64-bit doubleword that is pointed to by the current Guarded Control Stack Pointer, writes it to the destination register, and increments the current Guarded Control Stack Pointer register by the size of a Guarded Control Stack procedure return record.

Configuration

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

Attributes

GCSPOPM is a 64-bit System instruction.

Field descriptions

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
output for Guarded Control Stack procedure return record
output for Guarded Control Stack procedure return record

Bits [63:0]

Output value for Guarded Control Stack procedure return record.

Executing GCSPOPM

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

GCSPOPM {<Xt>}

op0op1CRnCRmop2
0b010b0110b01110b01110b001

if PSTATE.EL == EL0 then X[t, 64] = GCSPOPM(); elsif PSTATE.EL == EL1 then X[t, 64] = GCSPOPM(); elsif PSTATE.EL == EL2 then X[t, 64] = GCSPOPM(); elsif PSTATE.EL == EL3 then X[t, 64] = GCSPOPM();


15/03/2024 21:49; 3156453dc257d36c4630671c3d896bfc69048210

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