[binutils-gdb] aarch64: Include +predres2 in -march=armv8.9-a

Andrew Carlotti acarlotti@sourceware.org
Tue Jan 23 17:34:45 GMT 2024


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b0104cdbffdc722ee1ff7ffe7325453461ffe57d

commit b0104cdbffdc722ee1ff7ffe7325453461ffe57d
Author: Andrew Carlotti <andrew.carlotti@arm.com>
Date:   Wed Jan 17 12:37:15 2024 +0000

    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.

Diff:
---
 include/opcode/aarch64.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h
index 6f02f472fda..02ee0fc2566 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) \


More information about the Binutils-cvs mailing list