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

Message ID 5B1A88E1.4010709@foss.arm.com
State New
Headers show
Series
  • [arm,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-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

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

Comments

Ramana Radhakrishnan June 8, 2018, 1:50 p.m. | #1
On 08/06/2018 14:47, Kyrill Tkachov wrote:
> 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-01  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

> 

>       * config/tc-arm.c (arm_cpus): Add Cortex-A76 entry.

>       * doc/c-arm.texi (-mcpu): Document cortex-a76.

> 


Ok.

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

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

> 

>     * config/tc-arm.c (arm_cpus): Add Cortex-A76 entry.

>     * doc/c-arm.texi (-mcpu): Document cortex-a76.


Approved - please apply.

Cheers
  Nick

Patch

diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index eda989092169ac8c977bbb36f4d151a85bf6ea60..7c5944b8da779a543f8850c5e33612091259675a 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -26121,6 +26121,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),
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index f67696f00fbbbf76627d41cf45b682432e272ba8..cd533ca540be19aa79cde0a460e5cee617ce8cb8 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -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},