diff options
author | srinath <srinath.parvathaneni@arm.com> | 2023-11-02 13:04:20 +0000 |
---|---|---|
committer | srinath <srinath.parvathaneni@arm.com> | 2023-11-02 13:06:00 +0000 |
commit | f985c2512aee1c4440998db62d6aea98c737b3ef (patch) | |
tree | ad00ac3226ee025d907b7706bd95ce8bc8fbf7f2 /include | |
parent | 6c0ecdbad70456b22b538d957e93478b14d0e0bc (diff) | |
download | gdb-f985c2512aee1c4440998db62d6aea98c737b3ef.zip gdb-f985c2512aee1c4440998db62d6aea98c737b3ef.tar.gz gdb-f985c2512aee1c4440998db62d6aea98c737b3ef.tar.bz2 |
aarch64: Add support for GCS extension.
This patch adds for Guarded Control Stack Extension (GCS) extension. GCS feature is
optional from Armv9.4-A architecture and enabled by passing +gcs option to -march
(eg: -march=armv9.4-a+gcs) or using ".arch_extension gcs" directive in the assembly file.
Also this patch adds support for GCS instructions gcspushx, gcspopcx, gcspopx,
gcsss1, gcsss2, gcspushm, gcspopm, gcsstr and gcssttr.
Diffstat (limited to 'include')
-rw-r--r-- | include/opcode/aarch64.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h index a60965c..9d0b553 100644 --- a/include/opcode/aarch64.h +++ b/include/opcode/aarch64.h @@ -161,9 +161,10 @@ enum aarch64_feature_bit { AARCH64_FEATURE_V8_9A, /* Check Feature Status Extension. */ AARCH64_FEATURE_CHK, + /* Guarded Control Stack. */ + AARCH64_FEATURE_GCS, /* SME2. */ AARCH64_FEATURE_SME2, - DUMMY2, AARCH64_NUM_FEATURES }; @@ -895,6 +896,7 @@ enum aarch64_insn_class dotproduct, bfloat16, cssc, + gcs, }; /* Opcode enumerators. */ |