This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH][gas][AArch64] Add support for Cortex-A72
- From: Matthew Wahab <matthew dot wahab at arm dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Wed, 04 Feb 2015 10:12:18 +0000
- Subject: [PATCH][gas][AArch64] Add support for Cortex-A72
- Authentication-results: sourceware.org; auth=none
Hello,
The Cortex-A72 is an ARMv8 core with the same architectural features as
the Cortex-A57. This patch adds support to GAS for the command line
option -mcpu=cortex-a72 with the same effect as the -mcpu=cortex-a57
option, only the name being different.
Tested check-gas with aarch64-none-linux-gnu, no failures. Tested the
new cpu option from the command line.
Ok for trunk?
Matthew
gas/
2015-02-04 Matthew Wahab <matthew.wahab@arm.com>
* config/tc-aarch64.c: Add support for Cortex-A72.
* doc/c-aarch64.texi (-mcpu=): Add "cortex-a72".
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index b495331..25ae8c3 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -7231,6 +7231,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"},
{"thunderx", AARCH64_ARCH_V8, "Cavium ThunderX"},
/* The 'xgene-1' name is an older name for 'xgene1', which was used
in earlier releases and is superseded by 'xgene1' in all
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index 3488a1f..0b98ba9 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{thunderx},
@code{xgene1}
and