This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] [AArch64][gas] Add -mcpu support for Arm Ares
- From: Kyrylo Tkachov <ktkachov at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 8 Jan 2019 15:19:22 -0000
- Subject: [binutils-gdb] [AArch64][gas] Add -mcpu support for Arm Ares
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c8fcc36012301d7402fd990ee5d8f78dffa824f0
commit c8fcc36012301d7402fd990ee5d8f78dffa824f0
Author: Kyrylo Tkachov <kyrylo.tkachov@arm.com>
Date: Tue Jan 8 15:18:32 2019 +0000
[AArch64][gas] Add -mcpu support for Arm Ares
This adds support for the Arm Ares CPU for AArch64.
It implements the Armv8.2-A architecture with the optional features
of statistical profiling, dot product and FP16 on by default.
Note: Ares is a codename to enable early adopters and in time
we will add the final product name once it's announced.
* config/tc-aarch64.c (aarch64_cpus): Add ares.
* doc/c-aarch64.texi (-mcpu): Document ares value.
Diff:
---
gas/ChangeLog | 5 +++++
gas/config/tc-aarch64.c | 5 +++++
gas/doc/c-aarch64.texi | 1 +
3 files changed, 11 insertions(+)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6deda0a..35efcbe 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2019-01-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * config/tc-aarch64.c (aarch64_cpus): Add ares.
+ * doc/c-aarch64.texi (-mcpu): Document ares value.
+
2019-01-08 Alan Modra <amodra@gmail.com>
* testsuite/gas/rx/rx.exp: Create generated test source in
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 1f09486..461c39b 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -8745,6 +8745,11 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
{"cortex-a76", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16 | AARCH64_FEATURE_DOTPROD),
"Cortex-A76"},
+ {"ares", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
+ AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16
+ | AARCH64_FEATURE_DOTPROD
+ | AARCH64_FEATURE_PROFILE),
+ "Ares"},
{"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 6a5eb94..7451f2f 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -63,6 +63,7 @@ on the target processor. The following processor names are recognized:
@code{cortex-a73},
@code{cortex-a75},
@code{cortex-a76},
+@code{ares},
@code{exynos-m1},
@code{falkor},
@code{qdf24xx},