diff mbox

[ARM] Add cortex-a12 entry to driver-arm.c

Message ID 52AF040D.8000007@arm.com
State New
Headers show

Commit Message

Kyrylo Tkachov Dec. 16, 2013, 1:45 p.m. UTC
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  <kyrylo.tkachov@arm.com>

     * config/arm/driver-arm.c (arm_cpu_table): Add cortex-a12 entry.

Comments

Richard Earnshaw Dec. 16, 2013, 1:53 p.m. UTC | #1
On 16/12/13 13:45, Kyrill Tkachov wrote:
> 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  <kyrylo.tkachov@arm.com>
> 
>      * config/arm/driver-arm.c (arm_cpu_table): Add cortex-a12 entry.
> 
> 

OK.

R.
diff mbox

Patch

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"},