arm: Add support for Neoverse N2 CPU
authorAlex Coplan <alex.coplan@arm.com>
Thu, 24 Sep 2020 09:10:52 +0000 (10:10 +0100)
committerAlex Coplan <alex.coplan@arm.com>
Thu, 24 Sep 2020 09:10:52 +0000 (10:10 +0100)
This adds support for Arm's Neoverse N2 CPU to AArch32 binutils. The
Neoverse N2 CPU builds AArch32 at EL0 and therefore needs support in the
AArch32 assembler.

gas/ChangeLog:

2020-09-24  Alex Coplan  <alex.coplan@arm.com>

* config/tc-arm.c (arm_cpus): Add Neoverse N2.
* doc/c-arm.texi: Document -mcpu=neoverse-n2.

gas/ChangeLog
gas/config/tc-arm.c
gas/doc/c-arm.texi

index 02e63007ca6d384092f88fd4aa85c028910ae16c..30e4e34b551327e69fb768358e98c352cfd1fefb 100644 (file)
@@ -1,3 +1,8 @@
+2020-09-24  Alex Coplan  <alex.coplan@arm.com>
+
+       * config/tc-arm.c (arm_cpus): Add Neoverse N2.
+       * doc/c-arm.texi: Document -mcpu=neoverse-n2.
+
 2020-09-24  Lili Cui  <lili.cui@intel.com>
 
        * NEWS: Add TDX.
index 32feaa1ca094d4bf92dc710840b3996d9a43ceda..fce3ad36e0a399445149ce4ff43f013234a81e12 100644 (file)
@@ -31594,6 +31594,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,
index 91803605775418bcc795e163f42b0beaec880967..39e24e71af09fd3e72d404e13dfc743ce590c09a 100644 (file)
@@ -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),