From patchwork Tue Dec 18 13:38:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [ARM] Add support for Cortex-A7 to GCC -mcpu=native option. Date: Tue, 18 Dec 2012 03:38:05 -0000 From: Kyrylo Tkachov X-Patchwork-Id: 207116 Message-Id: <002e01cddd24$e8d27440$ba775cc0$@tkachov@arm.com> To: Cc: "Ramana Radhakrishnan" Hi all, This one-line patch adds support for Cortex A-7 to the -mcpu=native option. Ok for trunk? No regressions on arm-none-eabi. Thanks, Kyrill gcc/ChangeLog 2012-12-18 Kyrylo Tkachov * config/arm/driver-arm.c (arm_cpu_table): Add Cortex-A7. diff --git a/gcc/config/arm/driver-arm.c b/gcc/config/arm/driver-arm.c index 3e14b14..3a17e10 100644 --- a/gcc/config/arm/driver-arm.c +++ b/gcc/config/arm/driver-arm.c @@ -37,6 +37,7 @@ static struct vendor_cpu arm_cpu_table[] = { {"0xb56", "armv6t2", "arm1156t2-s"}, {"0xb76", "armv6zk", "arm1176jz-s"}, {"0xc05", "armv7-a", "cortex-a5"}, + {"0xc07", "armv7-a", "cortex-a7"}, {"0xc08", "armv7-a", "cortex-a8"}, {"0xc09", "armv7-a", "cortex-a9"}, {"0xc0f", "armv7-a", "cortex-a15"},