This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][gas][ARM] Add support for Cortex-A72


Hello,

The Cortex-A72 is an ARMv8 core with the same architectural features as the Cortex-A57. This patch adds support to GAS for the command line option -mcpu=cortex-a72 with the same effect as the -mcpu=cortex-a57 option, only the name being different.

Tested with check-gas for arm-none-linux-gnueabihf. Tested the new cpu option from the command line.

Ok for trunk?
Matthew

binutils/gas
2015-02-04  Matthew Wahab  <matthew.wahab@arm.com>

	* config/tc-arm.c: Add support for Cortex-A72.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index b17ea6c..1087706 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -24450,6 +24450,8 @@ static const struct arm_cpu_option_table arm_cpus[] =
 								  "Cortex-A53"),
   ARM_CPU_OPT ("cortex-a57",    ARM_ARCH_V8A,    FPU_ARCH_CRYPTO_NEON_VFP_ARMV8,
 								  "Cortex-A57"),
+  ARM_CPU_OPT ("cortex-a72",    ARM_ARCH_V8A,    FPU_ARCH_CRYPTO_NEON_VFP_ARMV8,
+								  "Cortex-A72"),
   ARM_CPU_OPT ("cortex-r4",	ARM_ARCH_V7R,	 FPU_NONE,	  "Cortex-R4"),
   ARM_CPU_OPT ("cortex-r4f",	ARM_ARCH_V7R,	 FPU_ARCH_VFP_V3D16,
 								  "Cortex-R4F"),

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]