This patch adds support for Cortex-X1
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Mon, 28 Sep 2020 14:43:51 +0000 (15:43 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 28 Sep 2020 14:43:51 +0000 (15:43 +0100)
gas * config/tc-aarch64.c: (aarch64_cpus): Add Cortex-X1.
* doc/c-aarch64.texi: Document -mcpu=cortex-x1.

gas/ChangeLog
gas/config/tc-aarch64.c
gas/doc/c-aarch64.texi

index 18c19baf3a59f925f1af6e63147b60f36c5ffc17..6fdabb6602d535c4693bb436fdf5bb39e9b63849 100644 (file)
@@ -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.
index 56ce5facdb1866ee7a779341aa15517942b1c020..b01711809cd0e699f4ad3d7bcc910a8f3c3c17c7 100644 (file)
@@ -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}
index 3f535a28ba5612f5570d19f2a47d146a525342be..95bfdbcb091146284719043d1e5301001d995a02 100644 (file)
@@ -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.