diff mbox

[Gas,ARM] Add support for Cortex-A35

Message ID 1447258188-11247-1-git-send-email-james.greenhalgh@arm.com
State New
Headers show

Commit Message

James Greenhalgh Nov. 11, 2015, 4:09 p.m. UTC
Hi,

This patch adds support to the ARM back-end for the Cortex-A35 processor,
as recently announced by ARM. The ARM Cortex-A35 provides full support for
the ARMv8-A architecture, including the CRC extension. We set the default
FPU for Cortex-A35 to FPU_ARCH_CRYPTO_NEON_VFP_ARMV8 in the same fashion
as for Cortex-A53 and Cortex-A57.

Tested in a cross environment for arm-none-eabi with no issues.

OK? If so, please apply it on my behalf as I don't have write permissions
over here.

Thanks,
James

---
2015-11-11  James Greenhalgh  <james.greenhalgh@arm.com>

	* config/tc-arm.c (arm_cpus): Likewise.
	* doc/c-arm.texi (-mcpu=): Likewise.
diff mbox

Patch

diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index e33a77f..87021c3 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -24720,6 +24720,8 @@  static const struct arm_cpu_option_table arm_cpus[] =
 								  "Cortex-A15"),
   ARM_CPU_OPT ("cortex-a17",	ARM_ARCH_V7VE,   FPU_ARCH_NEON_VFP_V4,
 								  "Cortex-A17"),
+  ARM_CPU_OPT ("cortex-a35",    ARM_ARCH_V8A,    FPU_ARCH_CRYPTO_NEON_VFP_ARMV8,
+								  "Cortex-A35"),
   ARM_CPU_OPT ("cortex-a53",    ARM_ARCH_V8A,    FPU_ARCH_CRYPTO_NEON_VFP_ARMV8,
 								  "Cortex-A53"),
   ARM_CPU_OPT ("cortex-a57",    ARM_ARCH_V8A,    FPU_ARCH_CRYPTO_NEON_VFP_ARMV8,
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index 661f631..9a34f5e 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -119,6 +119,7 @@  recognized:
 @code{cortex-a8},
 @code{cortex-a9},
 @code{cortex-a15},
+@code{cortex-a35},
 @code{cortex-a53},
 @code{cortex-a57},
 @code{cortex-a72},