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

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

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

  [0] https://www.arm.com/products/cortex-x

gas/

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

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

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

diff --git a/gas/NEWS b/gas/NEWS
index 6ea644ef1ca55cfa08995c539531ebf9a58e83fd..7dfc70c419fd2e88ca81550d045d3ca4d2a836da 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -1,6 +1,6 @@
 -*- text -*-
 
-* Add support for Cortex-A510 and Cortex-A710 for AArch64.
+* Add support for Cortex-A510, Cortex-A710, Cortex-X2 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
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 490ebd7c4b2cc207e836d8bc83478399c9ac30f7..2ea55d8a8754788915b24a0ddff9d7cbd7414895 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -9132,6 +9132,12 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
                 | AARCH64_FEATURE_SSBS
                 | AARCH64_FEATURE_PROFILE),
                 "Cortex-X1"},
+  {"cortex-x2", AARCH64_FEATURE (AARCH64_ARCH_V9,
+                AARCH64_FEATURE_BFLOAT16
+                | AARCH64_FEATURE_I8MM
+                | AARCH64_FEATURE_MEMTAG
+                | AARCH64_FEATURE_SVE2_BITPERM),
+                "Cortex-X2"},
   {"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 07db4c0cfd8dfddf39fd8a4097322cc5a4098b74..182c2f40474a65a78363626bfeeeb26895e6ebe3 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -87,8 +87,9 @@ on the target processor.  The following processor names are recognized:
 @code{xgene1}
 @code{xgene2},
 @code{cortex-r82},
+@code{cortex-x1},
 and
-@code{cortex-x1}.
+@code{cortex-x2}.
 The special name @code{all} may be used to allow the assembler to accept
 instructions valid for any supported processor, including all optional
 extensions.

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

* Re: [PATCH][GAS] aarch64: Enable Cortex-X2 CPU
  2021-09-16 10:22 [PATCH][GAS] aarch64: Enable Cortex-X2 CPU Przemyslaw Wirkus
@ 2021-09-30 16:19 ` Nick Clifton
  2021-09-30 20:23   ` Przemyslaw Wirkus
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Clifton @ 2021-09-30 16:19 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-X2.
> 	* 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-X2 CPU
  2021-09-30 16:19 ` Nick Clifton
@ 2021-09-30 20:23   ` Przemyslaw Wirkus
  0 siblings, 0 replies; 3+ messages in thread
From: Przemyslaw Wirkus @ 2021-09-30 20:23 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-X2.
> > 	* doc/c-aarch64.texi: Update docs.
> 
> Approved - please apply.

commit 50aaf5e6ee2687417ca4fe1a596e54a7691828db

> Cheers
>    Nick
> 


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

end of thread, other threads:[~2021-09-30 20:23 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:22 [PATCH][GAS] aarch64: Enable Cortex-X2 CPU Przemyslaw Wirkus
2021-09-30 16:19 ` Nick Clifton
2021-09-30 20:23   ` 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).