[PATCH][binutils 2.35] arm: Add support for Neoverse N2 CPU
Alex Coplan
alex.coplan@arm.com
Thu Oct 8 13:18:51 GMT 2020
Hello,
This patch backports the AArch32 support Arm's Neoverse N2 CPU to
binutils 2.35.
Testing:
* Regression tested on arm-none-eabi.
OK for 2.35 branch?
What about the Neoverse V1 backport for AArch32 [0]?
Thanks,
Alex
[0] : https://sourceware.org/pipermail/binutils/2020-October/113584.html
---
gas/ChangeLog:
* config/tc-arm.c (arm_cpus): Add Neoverse N2.
* doc/c-arm.texi: Document -mcpu=neoverse-n2.
-------------- next part --------------
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index e0d0cbd5463..b8de8c687d2 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),
/* ??? XSCALE is really an architecture. */
ARM_CPU_OPT ("xscale", NULL, ARM_ARCH_XSCALE,
ARM_ARCH_NONE,
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index 91803605775..39e24e71af0 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{xgene1},
@code{xgene2},
@code{ep9312} (ARM920 with Cirrus Maverick coprocessor),
More information about the Binutils
mailing list