From 990e5268d2e61dd92d348a017037ddc5e026e21d Mon Sep 17 00:00:00 2001 From: Alex Coplan Date: Wed, 30 Sep 2020 12:11:56 +0100 Subject: [PATCH] aarch64: Add support for Neoverse N2 CPU This patch adds support for Arm's Neoverse N2 CPU to AArch64 binutils. gas/ChangeLog: * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n2. * doc/c-aarch64.texi: Document support for Neoverse N2. --- gas/ChangeLog | 5 +++++ gas/config/tc-aarch64.c | 10 ++++++++++ gas/doc/c-aarch64.texi | 1 + 3 files changed, 16 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 056097eb71c..8def6a33c4d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2020-09-30 Alex Coplan + + * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n2. + * doc/c-aarch64.texi: Document support for Neoverse N2. + 2020-09-30 Alan Modra * config/obj-elf.c (obj_elf_change_section): Rename variable to diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index b01711809cd..8c40a68a307 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -8956,6 +8956,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 95bfdbcb091..e45f4798451 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-e1}, @code{neoverse-v1}, @code{qdf24xx}, -- 2.30.2