From: Kyrylo Tkachov Date: Mon, 7 Jan 2019 09:22:55 +0000 (+0000) Subject: [arm][gas] Add -mcpu support for Arm Ares X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef8df4caec24669a11680aa1a696d470fb6177ba;p=binutils-gdb.git [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 --git a/gas/ChangeLog b/gas/ChangeLog index ac23a16c063..604ff423264 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 5d0d56e2f83..7900c1b369e 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 c39af95cc1b..70266058123 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},