public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH][binutils 2.35] aarch64: Add support for Neoverse N2 CPU
@ 2020-10-08 13:14 Alex Coplan
  2020-11-05 11:03 ` Alex Coplan
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Coplan @ 2020-10-08 13:14 UTC (permalink / raw)
  To: binutils; +Cc: Richard Earnshaw

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

Hello,

This patch backports the AArch64 support for Arm's Neoverse N2 CPU to
binutils 2.35.

Testing:
 * Regression tested an x64 -> aarch64-none-elf cross.

OK for 2.35 branch?

Thanks,
Alex

---

gas/ChangeLog:

	* 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: 1161 bytes --]

diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index a21fbe6cf5e..12eb13594c9 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -8930,6 +8930,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 00eb6fefb32..f5d26695749 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-v1},
 @code{neoverse-e1},
 @code{qdf24xx},

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

* Re: [PATCH][binutils 2.35] aarch64: Add support for Neoverse N2 CPU
  2020-10-08 13:14 [PATCH][binutils 2.35] aarch64: Add support for Neoverse N2 CPU Alex Coplan
@ 2020-11-05 11:03 ` Alex Coplan
  2020-11-05 14:26   ` Nick Clifton
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Coplan @ 2020-11-05 11:03 UTC (permalink / raw)
  To: binutils, Richard Earnshaw

On 08/10/2020 14:14, Alex Coplan via Binutils wrote:
> Hello,
> 
> This patch backports the AArch64 support for Arm's Neoverse N2 CPU to
> binutils 2.35.
> 
> Testing:
>  * Regression tested an x64 -> aarch64-none-elf cross.
> 
> OK for 2.35 branch?

Ping?

> 
> Thanks,
> Alex
> 
> ---
> 
> gas/ChangeLog:
> 
> 	* config/tc-aarch64.c (aarch64_cpus): Add neoverse-n2.
> 	* doc/c-aarch64.texi: Document support for Neoverse N2.
> diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
> index a21fbe6cf5e..12eb13594c9 100644
> --- a/gas/config/tc-aarch64.c
> +++ b/gas/config/tc-aarch64.c
> @@ -8930,6 +8930,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 00eb6fefb32..f5d26695749 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-v1},
>  @code{neoverse-e1},
>  @code{qdf24xx},

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

* Re: [PATCH][binutils 2.35] aarch64: Add support for Neoverse N2 CPU
  2020-11-05 11:03 ` Alex Coplan
@ 2020-11-05 14:26   ` Nick Clifton
  0 siblings, 0 replies; 3+ messages in thread
From: Nick Clifton @ 2020-11-05 14:26 UTC (permalink / raw)
  To: Alex Coplan, binutils, Richard Earnshaw

Hi Alex,

>> OK for 2.35 branch?
> 
> Ping?

Sorry.  Approved for the branch, please apply.

Cheers
   Nick


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

end of thread, other threads:[~2020-11-05 14:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-08 13:14 [PATCH][binutils 2.35] aarch64: Add support for Neoverse N2 CPU Alex Coplan
2020-11-05 11:03 ` Alex Coplan
2020-11-05 14:26   ` Nick Clifton

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