[AArch64,gas] Add support for Arm Cortex-A76

Message ID 5B1A88DF.3030201@foss.arm.com
State New
Headers show
Series
  • [AArch64,gas] Add support for Arm Cortex-A76
Related show

Commit Message

Kyrill Tkachov June 8, 2018, 1:47 p.m.
Hi all,

This patch adds support to gas for -mcpu=cortex-a76 in the usual way.
make check-gas passes without problems.

Ok for master?

Thanks,
Kyrill

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.

Comments

Nick Clifton June 8, 2018, 2:30 p.m. | #1
Hi Kyrill,

> 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.


Approved - please apply.

Cheers
  Nick

Patch

diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index 3a0cde95196df91392558577d8a8b20b48946794..808943f6b449c04a05e5e7500fccb6c5364dc9ed 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -8508,6 +8508,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"},
diff --git a/gas/doc/c-aarch64.texi b/gas/doc/c-aarch64.texi
index 56aa7e1636c5fbab0d69d9e4c335c8d1ba238252..0423995af1b1e88293c6dfec575156230863add5 100644
--- a/gas/doc/c-aarch64.texi
+++ b/gas/doc/c-aarch64.texi
@@ -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},