From f3034e25fa98d44b775970f40c9ec85eeae096e6 Mon Sep 17 00:00:00 2001 From: Alex Coplan Date: Thu, 24 Sep 2020 10:10:52 +0100 Subject: arm: Add support for Neoverse N2 CPU 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 * config/tc-arm.c (arm_cpus): Add Neoverse N2. * doc/c-arm.texi: Document -mcpu=neoverse-n2. --- gas/config/tc-arm.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gas/config/tc-arm.c') diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 32feaa1..fce3ad3 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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, -- cgit v1.1