This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH][AArch64][gas] Add support for Cortex-A73
- From: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Cc: Richard Earnshaw <Richard dot Earnshaw at arm dot com>, Marcus Shawcroft <marcus dot shawcroft at arm dot com>, Nick Clifton <nickc at redhat dot com>
- Date: Fri, 03 Jun 2016 14:21:07 +0100
- Subject: [PATCH][AArch64][gas] Add support for Cortex-A73
- Authentication-results: sourceware.org; auth=none
Hi all,
This patch adds gas support for Cortex-A73 in the usual way through -mcpu.
Cortex-A73 is an ARMv8-A core.
make check on gas for aarch64-none-elf is ok.
Ok to commit?
Thanks,
Kyrill
2016-06-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
* doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 9f8764e5c5306ff367638a2248100cfcbe3784d2..d0e928937610552174a575bc30d5c22c407f8cfe 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -7757,6 +7757,8 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
AARCH64_FEATURE_CRC), "Cortex-A57"},
{"cortex-a72", AARCH64_FEATURE (AARCH64_ARCH_V8,
AARCH64_FEATURE_CRC), "Cortex-A72"},
+ {"cortex-a73", AARCH64_FEATURE (AARCH64_ARCH_V8,
+ AARCH64_FEATURE_CRC), "Cortex-A73"},
{"exynos-m1", AARCH64_FEATURE (AARCH64_ARCH_V8,
AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO),
"Samsung Exynos M1"},
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index a193908f3d572ecdad5a9a293d7279d63a92254a..692172ab1ff06004980f198925289b022004d0ef 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -59,6 +59,7 @@ on the target processor. The following processor names are recognized:
@code{cortex-a53},
@code{cortex-a57},
@code{cortex-a72},
+@code{cortex-a73},
@code{exynos-m1},
@code{qdf24xx},
@code{thunderx},