From ef8df4caec24669a11680aa1a696d470fb6177ba Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Mon, 7 Jan 2019 09:22:55 +0000 Subject: [PATCH] [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. --- 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 ac23a16c06..604ff42326 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2019-01-07 Kyrylo Tkachov + + * config/tc-arm.c (arm_cpus): Add ares. + * doc/c-arm.texi (-mcpu): Document ares value. + 2019-01-05 Yoshinori Sato * 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 5d0d56e2f8..7900c1b369 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 c39af95cc1..7026605812 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}, -- 2.34.1