This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH][arm][gas] Add -mcpu support for Arm Ares
- From: Kyrill Tkachov <kyrylo dot tkachov at foss dot arm dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Mon, 07 Jan 2019 09:09:19 +0000
- Subject: [PATCH][arm][gas] Add -mcpu support for Arm Ares
Hi all,
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.
Tested with check-gas on arm-none-eabi
Ok for master (2.32)?
Thanks,
Kyrill
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.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 7235b7f62b6562703faa1bc3e0741fd72a42b085..f5009e11b031325f943e9a23afbf4ce1caa8f152 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 835777a3abb89eba97b11bd9972adf9a0826bd26..abf1985083089dbde4ed25229b30fbac8acdd740 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},