[arm][gas] Add -mcpu support for Arm Ares
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Mon, 7 Jan 2019 09:22:55 +0000 (09:22 +0000)
committerKyrylo Tkachov <kyrylo.tkachov@arm.com>
Mon, 7 Jan 2019 09:22:55 +0000 (09:22 +0000)
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
gas/config/tc-arm.c
gas/doc/c-arm.texi

index ac23a16c06305cd8418e302703c8e81280e3fe13..604ff423264b27ee807c86fd0aa6e287bdba8e86 100644 (file)
@@ -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.
index 5d0d56e2f83f9d0e16b948567885f8602489f026..7900c1b369e920afa995b65e880623b4c6bdd711 100644 (file)
@@ -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),
index c39af95cc1b2ac057e6febe1b4ee1ae9806bdb52..70266058123487606f83a004a2899672bb22a0ec 100644 (file)
@@ -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},