This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] [arm][gas] Add -mcpu support for Arm Ares
- From: Kyrylo Tkachov <ktkachov at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 7 Jan 2019 09:24:24 -0000
- Subject: [binutils-gdb] [arm][gas] Add -mcpu support for Arm Ares
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ef8df4caec24669a11680aa1a696d470fb6177ba
commit ef8df4caec24669a11680aa1a696d470fb6177ba
Author: Kyrylo Tkachov <kyrylo.tkachov@arm.com>
Date: Mon Jan 7 09:22:55 2019 +0000
[arm][gas] Add -mcpu support for Arm Ares
This adds support for the Arm Ares CPU in the arm port.
It implements the Armv8.2-A architecture with the relevant optional
features
of 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-arm.c (arm_cpus): Add ares.
* doc/c-arm.texi (-mcpu): Document ares value.
Diff:
---
gas/ChangeLog | 5 +++++
gas/config/tc-arm.c | 3 +++
gas/doc/c-arm.texi | 1 +
3 files changed, 9 insertions(+)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index ac23a16..604ff42 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2019-01-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * config/tc-arm.c (arm_cpus): Add ares.
+ * doc/c-arm.texi (-mcpu): Document ares value.
+
2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
* config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 5d0d56e..7900c1b 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -26202,6 +26202,9 @@ static const struct arm_cpu_option_table arm_cpus[] =
ARM_CPU_OPT ("cortex-a76", "Cortex-A76", ARM_ARCH_V8_2A,
ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST),
FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_DOTPROD),
+ ARM_CPU_OPT ("ares", "Ares", ARM_ARCH_V8_2A,
+ ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST),
+ FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_DOTPROD),
ARM_CPU_OPT ("cortex-r4", "Cortex-R4", ARM_ARCH_V7R,
ARM_ARCH_NONE,
FPU_NONE),
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index c39af95..7026605 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -129,6 +129,7 @@ recognized:
@code{cortex-a73},
@code{cortex-a75},
@code{cortex-a76},
+@code{ares},
@code{cortex-r4},
@code{cortex-r4f},
@code{cortex-r5},