This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [AArch64][gas][2.25] Backport support for Cortex-A72
- From: Matthew Wahab <matthew dot wahab at arm dot com>
- To: "gingold at adacore dot com" <gingold at adacore dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Wed, 11 Mar 2015 11:57:35 +0000
- Subject: Re: [AArch64][gas][2.25] Backport support for Cortex-A72
- Authentication-results: sourceware.org; auth=none
- References: <54DB672D dot 60500 at arm dot com> <CAFqB+Py5oOdx0Z9jMPLA09yGrKxhw9E-BN0K+Qto11VLkkQyKg at mail dot gmail dot com>
Ping.
A rebased and retested patch is attached.
Matthew
On 12/02/15 13:37, Marcus Shawcroft wrote:
On 11 February 2015 at 14:29, Matthew Wahab <matthew.wahab@arm.com> wrote:
This patch backports to binutils-2.25 support for the Cortex-A72 in the
AArch64 backend.
The trunk change is here:
https://sourceware.org/ml/binutils/2015-02/msg00025.html.
The commit log is here:
https://sourceware.org/ml/binutils-cvs/2015-02/msg00031.html.
Tested with check-gas for aarch64-none-linux-gnu, no failures.
Ok for the branch?
Matthew
gas/
2015-02-11 Matthew Wahab <matthew.wahab@arm.com>
* config/tc-aarch64.c: Add support for Cortex-A72.
* doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
This patch, although not a bug fix, is likely to be useful in the
short term because gcc5 will accept -mcpu=cortex-a72 and hence may
inject .cpu cortex-a72 directives. I think we should take this back
port to binutils 2.25, however we need Tristan to agree first.
Tristan?
Thanks
/Marcus
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 0e58764..de4e203 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -7184,6 +7184,8 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
AARCH64_FEATURE_CRC), "Cortex-A53"},
{"cortex-a57", AARCH64_FEATURE(AARCH64_ARCH_V8,
AARCH64_FEATURE_CRC), "Cortex-A57"},
+ {"cortex-a72", AARCH64_FEATURE (AARCH64_ARCH_V8,
+ AARCH64_FEATURE_CRC), "Cortex-A72"},
/* The 'xgene-1' name is an older name for 'xgene1', which was used
in earlier releases and is superseded by 'xgene1' in all
tools. */
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index 8fbae06..cb94251 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -57,6 +57,7 @@ message if an attempt is made to assemble an instruction which will not execute
on the target processor. The following processor names are recognized:
@code{cortex-a53},
@code{cortex-a57},
+@code{cortex-a72},
@code{xgene1},
and
@code{xgene2}.