[arm][gas] Add support for Arm Cortex-A76
authorkyrtka01 <kyrylo.tkachov@arm.com>
Fri, 8 Jun 2018 14:40:39 +0000 (15:40 +0100)
committerkyrtka01 <kyrylo.tkachov@arm.com>
Fri, 8 Jun 2018 14:40:39 +0000 (15:40 +0100)
This patch adds support to gas for -mcpu=cortex-a76 in the usual way.
make check-gas passes without problems.

2018-06-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

    * config/tc-arm.c (arm_cpus): Add Cortex-A76 entry.
    * doc/c-arm.texi (-mcpu): Document cortex-a76.

gas/ChangeLog
gas/config/tc-arm.c
gas/doc/c-arm.texi

index 21edb9a..fcfaf65 100644 (file)
@@ -1,5 +1,10 @@
 2018-06-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
+       * config/tc-arm.c (arm_cpus): Add Cortex-A76 entry.
+       * doc/c-arm.texi (-mcpu): Document cortex-a76.
+
+2018-06-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
        * config/tc-aarch64.c (aarch64_cpus): Add Cortex-A76 entry.
        * doc/c-aarch64.texi (-mcpu): Document cortex-a76.
 
index dbaf162..2529d2a 100644 (file)
@@ -26163,6 +26163,9 @@ static const struct arm_cpu_option_table arm_cpus[] =
   ARM_CPU_OPT ("cortex-a75",    "Cortex-A75",         ARM_ARCH_V8_2A,
               ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST),
               FPU_ARCH_CRYPTO_NEON_VFP_ARMV8_DOTPROD),
+  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 ("cortex-r4",      "Cortex-R4",         ARM_ARCH_V7R,
               ARM_ARCH_NONE,
               FPU_NONE),
index f67696f..cd533ca 100644 (file)
@@ -128,6 +128,7 @@ recognized:
 @code{cortex-a72},
 @code{cortex-a73},
 @code{cortex-a75},
+@code{cortex-a76},
 @code{cortex-r4},
 @code{cortex-r4f},
 @code{cortex-r5},