From: Alex Coplan <alex.coplan@arm.com>
To: binutils@sourceware.org
Cc: Richard Earnshaw <rearnsha@arm.com>,
Marcus Shawcroft <marcus.shawcroft@arm.com>
Subject: [PATCH 4/4] aarch64: Add -mcpu option for Cortex-R82
Date: Mon, 7 Sep 2020 16:55:26 +0100 [thread overview]
Message-ID: <20200907155524.b7ij27ffbvvetqju@arm.com> (raw)
[-- 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.
reply other threads:[~2020-09-07 15:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200907155524.b7ij27ffbvvetqju@arm.com \
--to=alex.coplan@arm.com \
--cc=binutils@sourceware.org \
--cc=marcus.shawcroft@arm.com \
--cc=rearnsha@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).