aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSrinath Parvathaneni <srinath.parvathaneni@arm.com>2024-06-25 11:25:26 +0100
committerSrinath Parvathaneni <srinath.parvathaneni@arm.com>2024-06-25 13:38:01 +0100
commit8e018c070ce41fe83f09b4fde8c2b2d9ad473e25 (patch)
tree167eec79486fefbbc950c989dae786699c285bf3 /include
parent8c438c8d083f84eb59eb465020e5b7a923afe1ba (diff)
downloadbinutils-8e018c070ce41fe83f09b4fde8c2b2d9ad473e25.zip
binutils-8e018c070ce41fe83f09b4fde8c2b2d9ad473e25.tar.gz
binutils-8e018c070ce41fe83f09b4fde8c2b2d9ad473e25.tar.bz2
aarch64: Enable mandatory feature bits for v9.4-A.
This patch fixes the mandatory feature bits in v9.4-a architectures, by enabling FEAT_SVE2p1 for Armv9.4-A architecture by default.
Diffstat (limited to 'include')
-rw-r--r--include/opcode/aarch64.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h
index 19dadaa..3410a76 100644
--- a/include/opcode/aarch64.h
+++ b/include/opcode/aarch64.h
@@ -359,7 +359,8 @@ enum aarch64_feature_bit {
#define AARCH64_ARCH_V9_1A_FEATURES(X) AARCH64_ARCH_V8_6A_FEATURES (X)
#define AARCH64_ARCH_V9_2A_FEATURES(X) AARCH64_ARCH_V8_7A_FEATURES (X)
#define AARCH64_ARCH_V9_3A_FEATURES(X) AARCH64_ARCH_V8_8A_FEATURES (X)
-#define AARCH64_ARCH_V9_4A_FEATURES(X) AARCH64_ARCH_V8_9A_FEATURES (X)
+#define AARCH64_ARCH_V9_4A_FEATURES(X) (AARCH64_ARCH_V8_9A_FEATURES (X) \
+ | AARCH64_FEATBIT (X, SVE2p1))
/* Architectures are the sum of the base and extensions. */
#define AARCH64_ARCH_V8A(X) (AARCH64_FEATBIT (X, V8) \