Hi all,
This patch adds an entry for the Cortex-A12 to the arm_cpu_table. This will
enable the -mcpu=native machinery to work on Linux systems.
Tested arm-none-eabi on qemu.
Ok for trunk?
Thanks,
Kyrill
2013-12-16 Kyrylo Tkachov <[email protected]>
* config/arm/driver-arm.c (arm_cpu_table): Add cortex-a12 entry.diff --git a/gcc/config/arm/driver-arm.c b/gcc/config/arm/driver-arm.c
index c0fb04c..7ec4996 100644
--- a/gcc/config/arm/driver-arm.c
+++ b/gcc/config/arm/driver-arm.c
@@ -40,6 +40,7 @@ static struct vendor_cpu arm_cpu_table[] = {
{"0xc07", "armv7-a", "cortex-a7"},
{"0xc08", "armv7-a", "cortex-a8"},
{"0xc09", "armv7-a", "cortex-a9"},
+ {"0xc0d", "armv7-a", "cortex-a12"},
{"0xc0f", "armv7-a", "cortex-a15"},
{"0xc14", "armv7-r", "cortex-r4"},
{"0xc15", "armv7-r", "cortex-r5"},