[AArch64][gas] Add support for Arm Cortex-A76
authorkyrtka01 <kyrylo.tkachov@arm.com>
Fri, 8 Jun 2018 14:39:47 +0000 (15:39 +0100)
committerkyrtka01 <kyrylo.tkachov@arm.com>
Fri, 8 Jun 2018 14:39:47 +0000 (15:39 +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-aarch64.c (aarch64_cpus): Add Cortex-A76 entry.
    * doc/c-aarch64.texi (-mcpu): Document cortex-a76.

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

index ca091bc..21edb9a 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2018-06-08  Egeyar Bagcioglu  <egeyar.bagcioglu@oracle.com>
 
        PR 20319
index 47ca0c8..660fa7c 100644 (file)
@@ -8592,6 +8592,9 @@ static const struct aarch64_cpu_option_table aarch64_cpus[] = {
   {"cortex-a75", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
                                  AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16 | AARCH64_FEATURE_DOTPROD),
                                  "Cortex-A75"},
+  {"cortex-a76", AARCH64_FEATURE (AARCH64_ARCH_V8_2,
+                                 AARCH64_FEATURE_RCPC | AARCH64_FEATURE_F16 | AARCH64_FEATURE_DOTPROD),
+                                 "Cortex-A76"},
   {"exynos-m1", AARCH64_FEATURE (AARCH64_ARCH_V8,
                                 AARCH64_FEATURE_CRC | AARCH64_FEATURE_CRYPTO),
                                "Samsung Exynos M1"},
index 56aa7e1..0423995 100644 (file)
@@ -62,6 +62,7 @@ on the target processor.  The following processor names are recognized:
 @code{cortex-a72},
 @code{cortex-a73},
 @code{cortex-a75},
+@code{cortex-a76},
 @code{exynos-m1},
 @code{falkor},
 @code{qdf24xx},