[binutils-gdb] This patch adds support for Cortex-X1

Nick Clifton nickc@sourceware.org
Mon Sep 28 14:44:16 GMT 2020


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=47e1f9deaa3a3fce74609af00cab770056874766

commit 47e1f9deaa3a3fce74609af00cab770056874766
Author: Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Date:   Mon Sep 28 15:43:51 2020 +0100

    This patch adds support for Cortex-X1
    
    gas     * config/tc-aarch64.c: (aarch64_cpus): Add Cortex-X1.
            * doc/c-aarch64.texi: Document -mcpu=cortex-x1.

Diff:
---
 gas/ChangeLog           | 5 +++++
 gas/config/tc-aarch64.c | 3 +++
 gas/doc/c-aarch64.texi  | 3 ++-
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index 18c19baf3a5..6fdabb6602d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2020-09-28  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
+
+	* config/tc-aarch64.c: (aarch64_cpus): Add Cortex-X1.
+	* doc/c-aarch64.texi: Document -mcpu=cortex-x1.
+
 2020-09-28  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>
 
         * testsuite/gas/aarch64/ete.d: New test.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 56ce5facdb1..b01711809cd 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -8986,6 +8986,9 @@ 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"},
+  {"cortex-x1", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
+                AARCH64_FEATURE_DOTPROD | AARCH64_FEATURE_PROFILE),
+  "Cortex-X1"},
   {"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 3f535a28ba5..95bfdbcb091 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -80,8 +80,9 @@ on the target processor.  The following processor names are recognized:
 @code{vulcan},
 @code{xgene1}
 @code{xgene2},
+@code{cortex-r82},
 and
-@code{cortex-r82}.
+@code{cortex-x1}.
 The special name @code{all} may be used to allow the assembler to accept
 instructions valid for any supported processor, including all optional
 extensions.


More information about the Binutils-cvs mailing list