public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/2] aarch64: Add support for Neoverse N2 CPU
@ 2020-09-23 13:45 Alex Coplan
  2020-09-28  9:17 ` Tamar Christina
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Coplan @ 2020-09-23 13:45 UTC (permalink / raw)
  To: binutils; +Cc: Richard Earnshaw

[-- Attachment #1: Type: text/plain, Size: 337 bytes --]

This patch adds support for Arm's Neoverse N2 CPU to AArch64 binutils.

Testing:
 * Regression tested on aarch64-none-elf.

OK for master?

Thanks,
Alex

---

gas/ChangeLog:

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

	* config/tc-aarch64.c (aarch64_cpus): Add neoverse-n2.
	* doc/c-aarch64.texi: Document support for Neoverse N2.


[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 1174 bytes --]

diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 57a2b4e997c..2e3d8d236db 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -8977,6 +8977,16 @@ 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-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"},
   {"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..67c299a8790 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{qdf24xx},
 @code{saphira},

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [PATCH 1/2] aarch64: Add support for Neoverse N2 CPU
  2020-09-23 13:45 [PATCH 1/2] aarch64: Add support for Neoverse N2 CPU Alex Coplan
@ 2020-09-28  9:17 ` Tamar Christina
  2020-09-29 14:26   ` Alex Coplan
  0 siblings, 1 reply; 5+ messages in thread
From: Tamar Christina @ 2020-09-28  9:17 UTC (permalink / raw)
  To: Alex Coplan, binutils; +Cc: Richard Earnshaw

Hi Alex,

Could you please add a NEWS entry for these and other cpu support that have been added.

Thanks,
Tamar

> -----Original Message-----
> From: Binutils <binutils-bounces@sourceware.org> On Behalf Of Alex Coplan
> Sent: Wednesday, September 23, 2020 2:46 PM
> To: binutils@sourceware.org
> Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>
> Subject: [PATCH 1/2] aarch64: Add support for Neoverse N2 CPU
> 
> This patch adds support for Arm's Neoverse N2 CPU to AArch64 binutils.
> 
> Testing:
>  * Regression tested on aarch64-none-elf.
> 
> OK for master?
> 
> Thanks,
> Alex
> 
> ---
> 
> gas/ChangeLog:
> 
> 2020-09-23  Alex Coplan  <alex.coplan@arm.com>
> 
> 	* config/tc-aarch64.c (aarch64_cpus): Add neoverse-n2.
> 	* doc/c-aarch64.texi: Document support for Neoverse N2.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] aarch64: Add support for Neoverse N2 CPU
  2020-09-28  9:17 ` Tamar Christina
@ 2020-09-29 14:26   ` Alex Coplan
  2020-09-29 15:24     ` Nick Clifton
  0 siblings, 1 reply; 5+ messages in thread
From: Alex Coplan @ 2020-09-29 14:26 UTC (permalink / raw)
  To: Tamar Christina; +Cc: binutils, Richard Earnshaw

[-- Attachment #1: Type: text/plain, Size: 1138 bytes --]

Hi Tamar,

On 28/09/2020 09:17, Tamar Christina wrote:
> Hi Alex,
> 
> Could you please add a NEWS entry for these and other cpu support that have been added.

Sure, thanks for the reminder. Is the attached OK?

Also, is the AArch64 patch (1/2) OK for trunk?

Thanks,
Alex

---

gas/ChangeLog:

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

	* NEWS: Mention recent Arm processor support.

> 
> Thanks,
> Tamar
> 
> > -----Original Message-----
> > From: Binutils <binutils-bounces@sourceware.org> On Behalf Of Alex Coplan
> > Sent: Wednesday, September 23, 2020 2:46 PM
> > To: binutils@sourceware.org
> > Cc: Richard Earnshaw <Richard.Earnshaw@arm.com>
> > Subject: [PATCH 1/2] aarch64: Add support for Neoverse N2 CPU
> > 
> > This patch adds support for Arm's Neoverse N2 CPU to AArch64 binutils.
> > 
> > Testing:
> >  * Regression tested on aarch64-none-elf.
> > 
> > OK for master?
> > 
> > Thanks,
> > Alex
> > 
> > ---
> > 
> > gas/ChangeLog:
> > 
> > 2020-09-23  Alex Coplan  <alex.coplan@arm.com>
> > 
> > 	* config/tc-aarch64.c (aarch64_cpus): Add neoverse-n2.
> > 	* doc/c-aarch64.texi: Document support for Neoverse N2.
> 

[-- Attachment #2: news.diff --]
[-- Type: text/x-diff, Size: 347 bytes --]

diff --git a/gas/NEWS b/gas/NEWS
index 7ae58506ec8..ce35ef774ef 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -1,4 +1,9 @@
 -*- text -*-
+* Add support for Arm's Cortex-R82, Neoverse V1, and Neoverse N2
+  processors.
+
+* Add support for Armv8-R AArch64.
+
 * Add support for Intel TDX instructions.
 
 * Add support for Intel Key Locker instructions.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] aarch64: Add support for Neoverse N2 CPU
  2020-09-29 14:26   ` Alex Coplan
@ 2020-09-29 15:24     ` Nick Clifton
  2020-09-30 11:23       ` Alex Coplan
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Clifton @ 2020-09-29 15:24 UTC (permalink / raw)
  To: Alex Coplan, Tamar Christina; +Cc: Richard Earnshaw, binutils

Hi Alex,

>> Could you please add a NEWS entry for these and other cpu support that have been added.
> Sure, thanks for the reminder. Is the attached OK?

Yes - please apply.

> Also, is the AArch64 patch (1/2) OK for trunk?

Yes, also approved.

Cheers
  Nick


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] aarch64: Add support for Neoverse N2 CPU
  2020-09-29 15:24     ` Nick Clifton
@ 2020-09-30 11:23       ` Alex Coplan
  0 siblings, 0 replies; 5+ messages in thread
From: Alex Coplan @ 2020-09-30 11:23 UTC (permalink / raw)
  To: Nick Clifton; +Cc: Tamar Christina, Richard Earnshaw, binutils

On 29/09/2020 16:24, Nick Clifton wrote:
> Hi Alex,
> 
> >> Could you please add a NEWS entry for these and other cpu support that have been added.
> > Sure, thanks for the reminder. Is the attached OK?
> 
> Yes - please apply.
> 
> > Also, is the AArch64 patch (1/2) OK for trunk?
> 
> Yes, also approved.

Thanks. Pushed with one obvious change: grouping the Neoverse cores
together. Apologies for the noise and not spotting that earlier.

Alex

> 
> Cheers
>   Nick
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-30 11:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23 13:45 [PATCH 1/2] aarch64: Add support for Neoverse N2 CPU Alex Coplan
2020-09-28  9:17 ` Tamar Christina
2020-09-29 14:26   ` Alex Coplan
2020-09-29 15:24     ` Nick Clifton
2020-09-30 11:23       ` Alex Coplan

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).