GCSSS1

Guarded Control Stack switch stack 1

This instruction validates that the stack being switched to contains a Valid cap entry, stores an In-progress cap entry to the stack that is being switched to, and sets the current Guarded control stack pointer to the stack that is being switched to.

If the instruction generates a synchronous Data Abort exception, Watchpoint exception, GPC exception, or GCS Data Check exception, the value of GCSPR_ELx for the current Exception level is restored to the value held in the register before the instruction was executed.

Encoding: System

Variants: FEAT_GCS (ARMv9.4)

313029282726252423222120191817161514131211109876543210
110101010000101101110111010
Lop1CRnCRmop2Rt

GCSSS1 <Xt>

Equivalent to: SYS #3, C7, C7, #2, <Xt>

Explanations

<Xt>: Is the 64-bit name of the general-purpose source register, encoded in the "Rt" field.