AARCH64_OPT_EXTENSION("the", THE, (), (), (), "the")
+AARCH64_OPT_EXTENSION("gcs", GCS, (), (), (), "gcs")
+
#undef AARCH64_OPT_EXTENSION
#define AARCH64_ISA_CSSC (aarch64_isa_flags & AARCH64_FL_CSSC)
#define AARCH64_ISA_D128 (aarch64_isa_flags & AARCH64_FL_D128)
#define AARCH64_ISA_THE (aarch64_isa_flags & AARCH64_FL_THE)
+#define AARCH64_ISA_GCS (aarch64_isa_flags & AARCH64_FL_GCS)
/* The current function is a normal non-streaming function. */
#define TARGET_NON_STREAMING (AARCH64_ISA_SM_OFF)
enabled through +the. */
#define TARGET_THE (AARCH64_ISA_THE)
+/* Armv9.4-A Guarded Control Stack extension system registers are
+ enabled through +gcs. */
+#define TARGET_GCS (AARCH64_ISA_GCS)
+
+
/* Standard register usage. */
/* 31 64-bit general purpose registers R0-R30:
Enable the Scalable Matrix Extension 2. This also enables SME instructions.
@item d128
Enable support for 128-bit system register read/write instructions.
+@item gcs
+Enable support for Armv9.4-a Guarded Control Stack extension.
@item the
Enable support for Armv8.9-a/9.4-a translation hardening extension.