public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/2] aarch64: Add support for Neoverse V1 CPU
@ 2020-09-22 13:59 Alex Coplan
  2020-09-24 13:34 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Coplan @ 2020-09-22 13:59 UTC (permalink / raw)
  To: binutils; +Cc: Richard Earnshaw

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

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

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

OK for master?

Thanks,
Alex

---

gas/ChangeLog:

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

	* config/tc-aarch64.c (aarch64_cpu_option_table): Add Neoverse V1.
	* doc/c-aarch64.texi: Document Neoverse V1 support.

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

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},

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

* Re: [PATCH 1/2] aarch64: Add support for Neoverse V1 CPU
  2020-09-22 13:59 [PATCH 1/2] aarch64: Add support for Neoverse V1 CPU Alex Coplan
@ 2020-09-24 13:34 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2020-09-24 13:34 UTC (permalink / raw)
  To: Alex Coplan, binutils; +Cc: Richard Earnshaw

Hi Alex,

> gas/ChangeLog:
> 
> 2020-09-22  Alex Coplan  <alex.coplan@arm.com>
> 
> 	* config/tc-aarch64.c (aarch64_cpu_option_table): Add Neoverse V1.
> 	* doc/c-aarch64.texi: Document Neoverse V1 support.

Approved - please apply.

Cheers
  Nick



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

end of thread, other threads:[~2020-09-24 13:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-22 13:59 [PATCH 1/2] aarch64: Add support for Neoverse V1 CPU Alex Coplan
2020-09-24 13:34 ` 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).