aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Coplan <alex.coplan@arm.com>2020-11-05 14:45:28 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2021-01-23 20:18:00 +0200
commit8b4e92739ac75d29f682e546e453766aa3f475e7 (patch)
treed027051c91a4a7f19cbc19bdb1d7086d077812f1
parentAutomatic date update in version.in (diff)
downloadbinutils-gdb-8b4e92739ac75d29f682e546e453766aa3f475e7.tar.gz
binutils-gdb-8b4e92739ac75d29f682e546e453766aa3f475e7.tar.bz2
binutils-gdb-8b4e92739ac75d29f682e546e453766aa3f475e7.zip
aarch64: Add support for Neoverse N2 CPU
This patch backports the AArch64 support for Arm's Neoverse N2 CPU to binutils 2.35. gas/ChangeLog: * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n2. * doc/c-aarch64.texi: Document support for Neoverse N2. (cherry picked from commit 1d63b4bfae093ef33f0aaef6863a726fed3e34ff)
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-aarch64.c10
-rw-r--r--gas/doc/c-aarch64.texi1
3 files changed, 16 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 79d2e7fcc1..417923ca11 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2020-11-05 Alex Coplan <alex.coplan@arm.com>
+
+ * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n2.
+ * doc/c-aarch64.texi: Document support for Neoverse N2.
+
2020-10-21 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
PR target/26763
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index a21fbe6cf5..12eb13594c 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -8930,6 +8930,16 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
| AARCH64_FEATURE_DOTPROD
| AARCH64_FEATURE_PROFILE),
"Neoverse N1"},
+ {"neoverse-n2", AARCH64_FEATURE (AARCH64_ARCH_V8_5,
+ AARCH64_FEATURE_BFLOAT16
+ | AARCH64_FEATURE_I8MM
+ | AARCH64_FEATURE_F16
+ | AARCH64_FEATURE_SVE
+ | AARCH64_FEATURE_SVE2
+ | AARCH64_FEATURE_SVE2_BITPERM
+ | AARCH64_FEATURE_MEMTAG
+ | AARCH64_FEATURE_RNG),
+ "Neoverse N2"},
{"neoverse-v1", AARCH64_FEATURE (AARCH64_ARCH_V8_4,
AARCH64_FEATURE_PROFILE
| AARCH64_FEATURE_CVADP
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index 00eb6fefb3..f5d2669574 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -72,6 +72,7 @@ on the target processor. The following processor names are recognized:
@code{exynos-m1},
@code{falkor},
@code{neoverse-n1},
+@code{neoverse-n2},
@code{neoverse-v1},
@code{neoverse-e1},
@code{qdf24xx},