* [PATCH 2/2] arm: Add support for Neoverse N2 CPU
@ 2020-09-23 13:47 Alex Coplan
2020-09-23 17:27 ` Ramana Radhakrishnan
0 siblings, 1 reply; 2+ messages in thread
From: Alex Coplan @ 2020-09-23 13:47 UTC (permalink / raw)
To: binutils; +Cc: Richard Earnshaw
[-- Attachment #1: Type: text/plain, Size: 405 bytes --]
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.
Testing:
* Regression tested on arm-none-eabi.
OK for master?
Thanks,
Alex
---
gas/ChangeLog:
2020-09-23 Alex Coplan <alex.coplan@arm.com>
* config/tc-arm.c (arm_cpus): Add Neoverse N2.
* doc/c-arm.texi: Document -mcpu=neoverse-n2.
[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 1098 bytes --]
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 32feaa1ca09..fce3ad36e0a 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,
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),
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2/2] arm: Add support for Neoverse N2 CPU
2020-09-23 13:47 [PATCH 2/2] arm: Add support for Neoverse N2 CPU Alex Coplan
@ 2020-09-23 17:27 ` Ramana Radhakrishnan
0 siblings, 0 replies; 2+ messages in thread
From: Ramana Radhakrishnan @ 2020-09-23 17:27 UTC (permalink / raw)
To: Alex Coplan; +Cc: binutils, Richard Earnshaw
On Wed, Sep 23, 2020 at 3:11 PM Alex Coplan <alex.coplan@arm.com> wrote:
>
> 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.
>
> Testing:
> * Regression tested on arm-none-eabi.
>
> OK for master?
OK, please push.
Ramana
>
> Thanks,
> Alex
>
> ---
>
> gas/ChangeLog:
>
> 2020-09-23 Alex Coplan <alex.coplan@arm.com>
>
> * config/tc-arm.c (arm_cpus): Add Neoverse N2.
> * doc/c-arm.texi: Document -mcpu=neoverse-n2.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-23 17:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23 13:47 [PATCH 2/2] arm: Add support for Neoverse N2 CPU Alex Coplan
2020-09-23 17:27 ` Ramana Radhakrishnan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).