public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] aarch64: Include +predres2 in -march=armv8.9-a
@ 2024-01-19 17:28 Andrew Carlotti
  2024-01-22 16:54 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Carlotti @ 2024-01-19 17:28 UTC (permalink / raw)
  To: binutils

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.

Ok for master and 2.42 branch?


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] aarch64: Include +predres2 in -march=armv8.9-a
  2024-01-19 17:28 [PATCH] aarch64: Include +predres2 in -march=armv8.9-a Andrew Carlotti
@ 2024-01-22 16:54 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2024-01-22 16:54 UTC (permalink / raw)
  To: Andrew Carlotti, binutils

Hi Andrew,

> 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.
> 
> Ok for master and 2.42 branch?

Yes to both.

Cheers
   Nick


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-22 16:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-19 17:28 [PATCH] aarch64: Include +predres2 in -march=armv8.9-a Andrew Carlotti
2024-01-22 16:54 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).