diff options
author | Srinath Parvathaneni <srinath.parvathaneni@arm.com> | 2023-11-16 12:16:53 +0000 |
---|---|---|
committer | srinath <srinath.parvathaneni@arm.com> | 2023-11-16 12:16:56 +0000 |
commit | 43e228e98c33d3dbb428f4061de0362ba13ffbf5 (patch) | |
tree | a9a1239b9ef124c5cd6dbd34acf6bd1eb9c3aed0 /include/opcode | |
parent | ebd5c32f2f0c2cfaeb5b86e9dd792cc62530be84 (diff) | |
download | gdb-43e228e98c33d3dbb428f4061de0362ba13ffbf5.zip gdb-43e228e98c33d3dbb428f4061de0362ba13ffbf5.tar.gz gdb-43e228e98c33d3dbb428f4061de0362ba13ffbf5.tar.bz2 |
aarch64: Add features to the Statistical Profiling Extension.
This patch adds features to the Statistical Profiling Extension,
identified as FEAT_SPEv1p4, FEAT_SPE_FDS, and FEAT_SPE_CRR, which
are enabled by default from Armv9.4-A.
Also adds support for system register "pmsdsfr_el1".
Diffstat (limited to 'include/opcode')
-rw-r--r-- | include/opcode/aarch64.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h index 6be2885..881a421 100644 --- a/include/opcode/aarch64.h +++ b/include/opcode/aarch64.h @@ -163,6 +163,12 @@ enum aarch64_feature_bit { AARCH64_FEATURE_CHK, /* Guarded Control Stack. */ AARCH64_FEATURE_GCS, + /* SPE Call Return branch records. */ + AARCH64_FEATURE_SPE_CRR, + /* SPE Filter by data source. */ + AARCH64_FEATURE_SPE_FDS, + /* Additional SPE events. */ + AARCH64_FEATURE_SPEv1p4, /* SME2. */ AARCH64_FEATURE_SME2, /* Translation Hardening Extension. */ @@ -224,7 +230,10 @@ enum aarch64_feature_bit { #define AARCH64_ARCH_V8_8A_FEATURES(X) (AARCH64_FEATBIT (X, V8_8A) \ | AARCH64_FEATBIT (X, MOPS) \ | AARCH64_FEATBIT (X, HBC)) -#define AARCH64_ARCH_V8_9A_FEATURES(X) (AARCH64_FEATBIT (X, V8_9A)) +#define AARCH64_ARCH_V8_9A_FEATURES(X) (AARCH64_FEATBIT (X, V8_9A) \ + | AARCH64_FEATBIT (X, SPEv1p4) \ + | AARCH64_FEATBIT (X, SPE_CRR) \ + | AARCH64_FEATBIT (X, SPE_FDS)) #define AARCH64_ARCH_V9A_FEATURES(X) (AARCH64_FEATBIT (X, V9A) \ | AARCH64_FEATBIT (X, F16) \ |