This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH][AArch64][gas] Add support for Arm Cortex-A76
- 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 (lists)" <richard dot earnshaw at arm dot com>, "nickc at redhat dot com" <nickc at redhat dot com>
- Date: Fri, 08 Jun 2018 14:47:11 +0100
- Subject: [PATCH][AArch64][gas] Add support for Arm Cortex-A76
Hi all,
This patch adds support to gas for -mcpu=cortex-a76 in the usual way.
make check-gas passes without problems.
Ok for master?
Thanks,
Kyrill
2018-06-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/tc-aarch64.c (aarch64_cpus): Add Cortex-A76 entry.
* doc/c-aarch64.texi (-mcpu): Document cortex-a76.
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 3a0cde95196df91392558577d8a8b20b48946794..808943f6b449c04a05e5e7500fccb6c5364dc9ed 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -8508,6 +8508,9 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
{"cortex-a75", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16 | AARCH64_FEATURE_DOTPROD),
"Cortex-A75"},
+ {"cortex-a76", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
+ AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16 | AARCH64_FEATURE_DOTPROD),
+ "Cortex-A76"},
{"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 56aa7e1636c5fbab0d69d9e4c335c8d1ba238252..0423995af1b1e88293c6dfec575156230863add5 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -62,6 +62,7 @@ on the target processor. The following processor names are recognized:
@code{cortex-a72},
@code{cortex-a73},
@code{cortex-a75},
+@code{cortex-a76},
@code{exynos-m1},
@code{falkor},
@code{qdf24xx},