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, AArch64] Add mcpu options for cortex-a53 and cortex-a57


Hi,

This adds to AArch64 GAS the support for the -mcpu option "cortexa53" and "cortex57". OK to commit?

Thanks,
Yufeng


gas/


2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>

        * config/tc-aarch64.c (aarch64_cpus): Add entries for "cortex-a53"
        and "cortex-a57".
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index bf72a13..094fc99 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -7000,6 +7000,8 @@ struct aarch64_cpu_option_table
    recognized by GCC.  */
 static const struct aarch64_cpu_option_table aarch64_cpus[] = {
   {"all", AARCH64_ANY, NULL},
+  {"cortex-a53",	AARCH64_ARCH_V8, "Cortex-A53"},
+  {"cortex-a57",	AARCH64_ARCH_V8, "Cortex-A57"},
   {"generic", AARCH64_ARCH_V8, NULL},
 
   /* These two are example CPUs supported in GCC, once we have real

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