* [PATCH 4/4] aarch64: Add -mcpu option for Cortex-R82
@ 2020-09-07 15:55 Alex Coplan
0 siblings, 0 replies; only message in thread
From: Alex Coplan @ 2020-09-07 15:55 UTC (permalink / raw)
To: binutils; +Cc: Richard Earnshaw, Marcus Shawcroft
[-- Attachment #1: Type: text/plain, Size: 603 bytes --]
This adds support for the Arm Cortex-R82 CPU in AArch64 GAS. For more
information about this processor, see [0].
Testing:
* Manually verified new -mcpu option works as expected.
* Regression tested an x64 -> aarch64-none-elf cross.
[0] : https://developer.arm.com/ip-products/processors/cortex-r/cortex-r82
---
gas/ChangeLog:
2020-09-04 Alex Coplan <alex.coplan@arm.com>
* config/tc-aarch64.c (aarch64_cpus): Add Cortex-R82.
* doc/c-aarch64.texi: Document -mcpu=cortex-r82.
---
gas/config/tc-aarch64.c | 1 +
gas/doc/c-aarch64.texi | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
[-- Attachment #2: 0004-aarch64-Add-mcpu-option-for-Cortex-R82.patch --]
[-- Type: text/x-patch, Size: 1032 bytes --]
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index b2a1683efd2..391746e3e07 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -8976,6 +8976,7 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
{"xgene1", AARCH64_ARCH_V8, "APM X-Gene 1"},
{"xgene2", AARCH64_FEATURE (AARCH64_ARCH_V8,
AARCH64_FEATURE_CRC), "APM X-Gene 2"},
+ {"cortex-r82", AARCH64_ARCH_V8_R, "Cortex-R82"},
{"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 89725a7e2f8..d8f2e19326f 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -78,8 +78,9 @@ on the target processor. The following processor names are recognized:
@code{thunderx},
@code{vulcan},
@code{xgene1}
+@code{xgene2},
and
-@code{xgene2}.
+@code{cortex-r82}.
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] only message in thread
only message in thread, other threads:[~2020-09-07 15:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-07 15:55 [PATCH 4/4] aarch64: Add -mcpu option for Cortex-R82 Alex Coplan
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).