aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Carlotti <andrew.carlotti@arm.com>2024-04-12 13:35:00 +0100
committerAndrew Carlotti <andrew.carlotti@arm.com>2024-06-23 13:59:01 +0100
commit835fb5ac2afa14a14bb1c1147291729d20498d20 (patch)
treec795beaf161ed9e23b95d955827b0bd009985033
parentb43cf8d3d87c6e4afaca635bce6897692d76771b (diff)
downloadbinutils-835fb5ac2afa14a14bb1c1147291729d20498d20.zip
binutils-835fb5ac2afa14a14bb1c1147291729d20498d20.tar.gz
binutils-835fb5ac2afa14a14bb1c1147291729d20498d20.tar.bz2
aarch64: Enable +cssc for armv8.9-a
FEAT_CSSC is mandatory in the architecture from Armv8.9.
-rw-r--r--gas/testsuite/gas/aarch64/cssc.d1
-rw-r--r--include/opcode/aarch64.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/gas/testsuite/gas/aarch64/cssc.d b/gas/testsuite/gas/aarch64/cssc.d
index d41df24..f6ff9d2 100644
--- a/gas/testsuite/gas/aarch64/cssc.d
+++ b/gas/testsuite/gas/aarch64/cssc.d
@@ -1,5 +1,6 @@
#name: CSSC extension
#as: -march=armv8-a+cssc
+#as: -march=armv8.9-a
#objdump: -dr
.*: file format .*
diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h
index c83c0a4..9da1def 100644
--- a/include/opcode/aarch64.h
+++ b/include/opcode/aarch64.h
@@ -299,6 +299,7 @@ enum aarch64_feature_bit {
| AARCH64_FEATBIT (X, MOPS) \
| AARCH64_FEATBIT (X, HBC))
#define AARCH64_ARCH_V8_9A_FEATURES(X) (AARCH64_FEATBIT (X, V8_9A) \
+ | AARCH64_FEATBIT (X, CSSC) \
| AARCH64_FEATBIT (X, SPEv1p4) \
| AARCH64_FEATBIT (X, SPE_CRR) \
| AARCH64_FEATBIT (X, SPE_FDS) \