aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Coplan <alex.coplan@arm.com>2020-10-09 15:05:51 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2020-10-21 01:01:51 +0300
commit38f25876d908376d80c0966e607bb172f40b1add (patch)
treeee710eaae4341121a05096520747290f8ff5d59a
parent[GOLD] Power10 segv due to wild r2 (diff)
downloadbinutils-gdb-38f25876d908376d80c0966e607bb172f40b1add.tar.gz
binutils-gdb-38f25876d908376d80c0966e607bb172f40b1add.tar.bz2
binutils-gdb-38f25876d908376d80c0966e607bb172f40b1add.zip
arm: Add support for Neoverse N2 CPU
This patch backports the AArch32 support for Arm's Neoverse N2 CPU to binutils 2.35. gas/ChangeLog: * config/tc-arm.c (arm_cpus): Add Neoverse N2. * doc/c-arm.texi: Document -mcpu=neoverse-n2. (cherry picked from commit 72e2c97030c686248df2e8fd6e2eb8bfbdc730f3)
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-arm.c5
-rw-r--r--gas/doc/c-arm.texi1
3 files changed, 11 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b4ad4195b5..abd9ddd171 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2020-10-09 Alex Coplan <alex.coplan@arm.com>
+ * config/tc-arm.c (arm_cpus): Add Neoverse N2.
+ * doc/c-arm.texi: Document -mcpu=neoverse-n2.
+
+2020-10-09 Alex Coplan <alex.coplan@arm.com>
+
* config/tc-arm.c (arm_cpus): Add Neoverse V1.
* doc/c-arm.texi: Document Neoverse V1 support.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 9121cc40ab..a9aaffa3bd 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -31587,6 +31587,11 @@ static const struct arm_cpu_option_table arm_cpus[] =
ARM_CPU_OPT ("neoverse-n1", "Neoverse N1", ARM_ARCH_V8_2A,
ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST),
FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_DOTPROD),
+ ARM_CPU_OPT ("neoverse-n2", "Neoverse N2", ARM_ARCH_V8_5A,
+ ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST
+ | ARM_EXT2_BF16
+ | ARM_EXT2_I8MM),
+ FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_4),
ARM_CPU_OPT ("neoverse-v1", "Neoverse V1", ARM_ARCH_V8_4A,
ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST
| ARM_EXT2_BF16
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index dde3ff75c8..16c94de675 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -151,6 +151,7 @@ recognized:
@code{marvell-pj4},
@code{marvell-whitney},
@code{neoverse-n1},
+@code{neoverse-n2},
@code{neoverse-v1},
@code{xgene1},
@code{xgene2},