From 9e980ddcefc2fac99a41965ef77e16386a0f86e2 Mon Sep 17 00:00:00 2001 From: Alex Coplan Date: Thu, 24 Sep 2020 15:25:04 +0100 Subject: [PATCH] aarch64: Add support for Neoverse V1 CPU This adds support for Arm's Neoverse V1 CPU to AArch64 binutils. gas/ChangeLog: 2020-09-24 Alex Coplan * config/tc-aarch64.c (aarch64_cpu_option_table): Add Neoverse V1. * doc/c-aarch64.texi: Document Neoverse V1 support. --- gas/ChangeLog | 5 +++++ gas/config/tc-aarch64.c | 8 ++++++++ gas/doc/c-aarch64.texi | 1 + 3 files changed, 14 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 30e4e34b551..1a16bce758c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2020-09-24 Alex Coplan + + * config/tc-aarch64.c (aarch64_cpu_option_table): Add Neoverse V1. + * doc/c-aarch64.texi: Document Neoverse V1 support. + 2020-09-24 Alex Coplan * config/tc-arm.c (arm_cpus): Add Neoverse N2. diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 57a2b4e997c..eadddb2eae7 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -8977,6 +8977,14 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = { {"xgene2", AARCH64_FEATURE (AARCH64_ARCH_V8, AARCH64_FEATURE_CRC), "APM X-Gene 2"}, {"cortex-r82", AARCH64_ARCH_V8_R, "Cortex-R82"}, + {"neoverse-v1", AARCH64_FEATURE (AARCH64_ARCH_V8_4, + AARCH64_FEATURE_PROFILE + | AARCH64_FEATURE_CVADP + | AARCH64_FEATURE_SVE + | AARCH64_FEATURE_SSBS + | AARCH64_FEATURE_RNG + | AARCH64_FEATURE_BFLOAT16 + | AARCH64_FEATURE_I8MM), "Neoverse V1"}, {"generic", AARCH64_ARCH_V8, NULL}, {NULL, AARCH64_ARCH_NONE, NULL} diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi index d8f2e19326f..3f535a28ba5 100644 --- a/gas/doc/c-aarch64.texi +++ b/gas/doc/c-aarch64.texi @@ -73,6 +73,7 @@ on the target processor. The following processor names are recognized: @code{falkor}, @code{neoverse-n1}, @code{neoverse-e1}, +@code{neoverse-v1}, @code{qdf24xx}, @code{saphira}, @code{thunderx}, -- 2.30.2