public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH][GAS] aarch64: Enable Cortex-A510 CPU
@ 2021-09-16 10:17 Przemyslaw Wirkus
  2021-09-30 16:17 ` Nick Clifton
  0 siblings, 1 reply; 3+ messages in thread
From: Przemyslaw Wirkus @ 2021-09-16 10:17 UTC (permalink / raw)
  To: Binutils; +Cc: Richard Earnshaw, Marcus Shawcroft, nickc

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

This patch is adding support for Cortex-A510 CPU [0].

  [0] https://www.arm.com/products/silicon-ip-cpu/cortex-a/cortex-a510

gas/

2021-09-16  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>

	* NEWS: Update docs.
	* config/tc-aarch64.c: Add Cortex-A510.
	* doc/c-aarch64.texi: Update docs.


[-- Attachment #2: rb14707.patch --]
[-- Type: application/octet-stream, Size: 1653 bytes --]

diff --git a/gas/NEWS b/gas/NEWS
index 8046ed541a859d68e93738ef7509ba6dda9c31de..2e40291f8c42a77f42f3c2bdcfa30393066a57a5 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -1,5 +1,7 @@
 -*- text -*-
 
+* Add support for Cortex-A510 for AArch64.
+
 * Outputs of .ds.x directive and .tfloat directive with hex input from
   x86 assembler have been reduced from 12 bytes to 10 bytes to match the
   output of .tfloat directive.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 087f88ef173cd7a6167d5e5ce578036efe933c64..573633f9b45a1386ecc8de083349541552277e9c 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -9051,6 +9051,12 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
                    | AARCH64_FEATURE_RCPC
                    | AARCH64_FEATURE_SSBS),
    "Cortex-A78C"},
+  {"cortex-a510", AARCH64_FEATURE (AARCH64_ARCH_V9,
+                  AARCH64_FEATURE_BFLOAT16
+                  | AARCH64_FEATURE_I8MM
+                  | AARCH64_FEATURE_MEMTAG
+                  | AARCH64_FEATURE_SVE2_BITPERM),
+   "Cortex-A510"},
   {"ares", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
 				  AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16
 				  | AARCH64_FEATURE_DOTPROD
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index 79dce2f74074e7cd3502cb127d87f585b048dfaa..c8c61f18854b1e29edc4107debe84a4e0f787485 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -71,6 +71,7 @@ on the target processor.  The following processor names are recognized:
 @code{cortex-a78},
 @code{cortex-a78ae},
 @code{cortex-a78c},
+@code{cortex-a510},
 @code{ares},
 @code{exynos-m1},
 @code{falkor},

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

* Re: [PATCH][GAS] aarch64: Enable Cortex-A510 CPU
  2021-09-16 10:17 [PATCH][GAS] aarch64: Enable Cortex-A510 CPU Przemyslaw Wirkus
@ 2021-09-30 16:17 ` Nick Clifton
  2021-09-30 20:24   ` Przemyslaw Wirkus
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Clifton @ 2021-09-30 16:17 UTC (permalink / raw)
  To: Przemyslaw Wirkus, Binutils; +Cc: Richard Earnshaw, Marcus Shawcroft

Hi Przemyslaw,

> 2021-09-16  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
> 
> 	* NEWS: Update docs.
> 	* config/tc-aarch64.c: Add Cortex-A510.
> 	* doc/c-aarch64.texi: Update docs.

Approved - please apply.

Cheers
   Nick



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

* RE: [PATCH][GAS] aarch64: Enable Cortex-A510 CPU
  2021-09-30 16:17 ` Nick Clifton
@ 2021-09-30 20:24   ` Przemyslaw Wirkus
  0 siblings, 0 replies; 3+ messages in thread
From: Przemyslaw Wirkus @ 2021-09-30 20:24 UTC (permalink / raw)
  To: nickc, Binutils; +Cc: Richard Earnshaw, Marcus Shawcroft

> Hi Przemyslaw,
> 
> > 2021-09-16  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
> >
> > 	* NEWS: Update docs.
> > 	* config/tc-aarch64.c: Add Cortex-A510.
> > 	* doc/c-aarch64.texi: Update docs.
> 
> Approved - please apply.

commit 98ab23ab20651137be7a258b757cda011a52a727

> Cheers
>    Nick
> 


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

end of thread, other threads:[~2021-09-30 20:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16 10:17 [PATCH][GAS] aarch64: Enable Cortex-A510 CPU Przemyslaw Wirkus
2021-09-30 16:17 ` Nick Clifton
2021-09-30 20:24   ` Przemyslaw Wirkus

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