Hi all,

This patchlet adds the part numbers for the Cortex-A53 and A57 cores so that they can be detected when parsing /proc/cpuinfo on AArch32 Linux systems. This will allow the -mcpu=native machinery to detect those cores.

Tested arm-none-eabi on a model.

This is a fairly innocuous change, is it ok at this stage or for next stage 1?

Thanks,
Kyrill

2014-02-10  Kyrylo Tkachov  <kyrylo.tkac...@arm.com>

    * config/arm/driver-arm.c (arm_cpu_table): Add entries for Cortex-A53,
    Cortex-A57.
diff --git a/gcc/config/arm/driver-arm.c b/gcc/config/arm/driver-arm.c
index 6d9c417..a4a62cc 100644
--- a/gcc/config/arm/driver-arm.c
+++ b/gcc/config/arm/driver-arm.c
@@ -42,6 +42,8 @@ static struct vendor_cpu arm_cpu_table[] = {
     {"0xc09", "armv7-a", "cortex-a9"},
     {"0xc0d", "armv7ve", "cortex-a12"},
     {"0xc0f", "armv7ve", "cortex-a15"},
+    {"0xd03", "armv8-a+crc", "cortex-a53"},
+    {"0xd07", "armv8-a+crc", "cortex-a57"},
     {"0xc14", "armv7-r", "cortex-r4"},
     {"0xc15", "armv7-r", "cortex-r5"},
     {"0xc20", "armv6-m", "cortex-m0"},

Reply via email to