[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 ca091bc7e275c2d15bcc9c6a2c8cb56cb91664ad..21edb9aea91434bc6ae1abfb18f069387153402c 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 47ca0c8a1bc56b50d033b07b868e8e00e4718f67..660fa7c4d4e7e0d863cde5e058599af8d13d2542 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 56aa7e1636c5fbab0d69d9e4c335c8d1ba238252..0423995af1b1e88293c6dfec575156230863add5 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},