summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Carlotti <andrew.carlotti@arm.com>2024-04-12 13:35:00 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2024-06-29 00:03:56 +0200
commitec3f2be62ec7116f765720f05b5519cf7e1b9c84 (patch)
tree4f9798a1f78d4508928a57c7330407a057a45c41
parentPR31898 bug in processing DW_RLE_startx_endx (diff)
downloadbinutils-gdb-gentoo/binutils-2.42-4.tar.gz
binutils-gdb-gentoo/binutils-2.42-4.tar.bz2
binutils-gdb-gentoo/binutils-2.42-4.zip
aarch64: Enable +cssc for armv8.9-agentoo/binutils-2.42-4
FEAT_CSSC is mandatory in the architecture from Armv8.9. (cherry picked from commit a1e3cb45c676da0f5be0237a05e2af3542d62ace)
-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 d41df24b916..f6ff9d207a2 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 8ab7de233ee..44fc5faf695 100644
--- a/include/opcode/aarch64.h
+++ b/include/opcode/aarch64.h
@@ -287,6 +287,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) \