* [GAS][AArch64] Add support for Cortex-X1
@ 2020-09-25 13:27 Przemyslaw Wirkus
2020-09-28 14:45 ` Nick Clifton
0 siblings, 1 reply; 2+ messages in thread
From: Przemyslaw Wirkus @ 2020-09-25 13:27 UTC (permalink / raw)
To: binutils; +Cc: Richard Earnshaw, nickc, Ramana Radhakrishnan, Marcus Shawcroft
[-- Attachment #1: Type: text/plain, Size: 399 bytes --]
Hi,
This patch adds support for Cortex-X1
This adds support for the Arm Cortex-X1 CPU in AArch64 GAS. For more
information about this processor, see [0].
[0] : https://www.arm.com/products/cortex-x
gas/ChangeLog:
2020-09-17 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
* config/tc-aarch64.c: (aarch64_cpus): Add Cortex-X1.
* doc/c-aarch64.texi: Document -mcpu=cortex-x1.
[-- Attachment #2: rb13476.patch --]
[-- Type: application/octet-stream, Size: 1244 bytes --]
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 57a2b4e997ce235536b9ff9819b28b466e9ad669..60876c1a771edb1ce2b7bb3554adc467e106e9bf 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -8977,6 +8977,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 d8f2e19326fc127a66eb11a3176e6f80573f3dd2..490e52ac6bde99ee6f4d931fcc6bcef4a2011549 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -79,8 +79,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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GAS][AArch64] Add support for Cortex-X1
2020-09-25 13:27 [GAS][AArch64] Add support for Cortex-X1 Przemyslaw Wirkus
@ 2020-09-28 14:45 ` Nick Clifton
0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2020-09-28 14:45 UTC (permalink / raw)
To: Przemyslaw Wirkus, binutils
Cc: Richard Earnshaw, Ramana Radhakrishnan, Marcus Shawcroft
Hi Przemyslaw
> 2020-09-17 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
>
> * config/tc-aarch64.c: (aarch64_cpus): Add Cortex-X1.
> * doc/c-aarch64.texi: Document -mcpu=cortex-x1.
Approved and applied.
Cheers
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-28 14:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25 13:27 [GAS][AArch64] Add support for Cortex-X1 Przemyslaw Wirkus
2020-09-28 14:45 ` 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).