aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Carlotti <andrew.carlotti@arm.com>2024-01-17 12:37:15 +0000
committerAndrew Carlotti <andrew.carlotti@arm.com>2024-01-23 17:36:35 +0000
commit9144007382b15ed39b49be5d3df42328ad91b0ea (patch)
tree70ba2be9c5915c6acefc716f74610100b951bc04
parente92613559c0b9f934220d43f520d976421b24c61 (diff)
downloadbinutils-9144007382b15ed39b49be5d3df42328ad91b0ea.zip
binutils-9144007382b15ed39b49be5d3df42328ad91b0ea.tar.gz
binutils-9144007382b15ed39b49be5d3df42328ad91b0ea.tar.bz2
aarch64: Include +predres2 in -march=armv8.9-a
This matches the dependencies in the architecture, in LLVM, and even in the original Binutils commit message that mistakenly included it only in armv9.4-a.
-rw-r--r--include/opcode/aarch64.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h
index 6f02f47..02ee0fc 100644
--- a/include/opcode/aarch64.h
+++ b/include/opcode/aarch64.h
@@ -306,6 +306,7 @@ enum aarch64_feature_bit {
| AARCH64_FEATBIT (X, PMUv3_SS) \
| AARCH64_FEATBIT (X, PMUv3_ICNTR) \
| AARCH64_FEATBIT (X, SEBEP) \
+ | AARCH64_FEATBIT (X, PREDRES2) \
)
#define AARCH64_ARCH_V9A_FEATURES(X) (AARCH64_FEATBIT (X, V9A) \
@@ -315,8 +316,7 @@ 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) \
- | AARCH64_FEATBIT (X, PREDRES2))
+#define AARCH64_ARCH_V9_4A_FEATURES(X) AARCH64_ARCH_V8_9A_FEATURES (X)
/* Architectures are the sum of the base and extensions. */
#define AARCH64_ARCH_V8A(X) (AARCH64_FEATBIT (X, V8) \