[llvm-commits] [llvm-gcc-4.2] r130727 - in /llvm-gcc-4.2/trunk/gcc/config/arm: arm-cores.def arm.h darwin.h t-arm-elf t-darwin
Bob Wilson
bob.wilson at apple.com
Mon May 2 14:33:45 PDT 2011
Author: bwilson
Date: Mon May 2 16:33:45 2011
New Revision: 130727
URL: http://llvm.org/viewvc/llvm-project?rev=130727&view=rev
Log:
Add some cortex-a9 and cortex-a9-mp entries in llvm-gcc.
Modified:
llvm-gcc-4.2/trunk/gcc/config/arm/arm-cores.def
llvm-gcc-4.2/trunk/gcc/config/arm/arm.h
llvm-gcc-4.2/trunk/gcc/config/arm/darwin.h
llvm-gcc-4.2/trunk/gcc/config/arm/t-arm-elf
llvm-gcc-4.2/trunk/gcc/config/arm/t-darwin
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/arm-cores.def
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/arm-cores.def?rev=130727&r1=130726&r2=130727&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/arm-cores.def (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/arm-cores.def Mon May 2 16:33:45 2011
@@ -123,6 +123,7 @@
ARM_CORE("cortex-a8", cortexa8, 7A, FL_LDSCHED, 9e)
/* LLVM LOCAL begin */
ARM_CORE("cortex-a9", cortexa9, 7A, FL_LDSCHED, 9e)
+ARM_CORE("cortex-a9-mp", cortexa9mp, 7A, FL_LDSCHED, 9e)
ARM_CORE("cortex-r4", cortexr4, 7R, FL_LDSCHED, 9e)
ARM_CORE("cortex-m3", cortexm3, 7M, FL_LDSCHED, 9e)
ARM_CORE("cortex-m4", cortexm4, 7M, FL_LDSCHED, 9e)
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/arm.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/arm.h?rev=130727&r1=130726&r2=130727&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/arm.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/arm.h Mon May 2 16:33:45 2011
@@ -3498,6 +3498,7 @@
case arm1156t2fs: F.setCPU("arm1156t2f-s"); break; \
case cortexa8: F.setCPU("cortex-a8"); break; \
case cortexa9: F.setCPU("cortex-a9"); break; \
+ case cortexa9mp: F.setCPU("cortex-a9-mp"); break; \
case cortexr4: F.setCPU("cortex-r4"); break; \
case cortexm3: F.setCPU("cortex-m3"); break; \
case cortexm4: F.setCPU("cortex-m4"); break; \
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/darwin.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/darwin.h?rev=130727&r1=130726&r2=130727&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/darwin.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/darwin.h Mon May 2 16:33:45 2011
@@ -236,6 +236,8 @@
mcpu=cortex-a8:armv7; \
mcpu=cortex-r4:armv7; \
mcpu=cortex-m3:armv7; \
+ mcpu=cortex-a9:armv7; \
+ mcpu=cortex-a9-mp:armv7; \
:arm -force_cpusubtype_ALL}"
#define DARWIN_MINVERSION_SPEC "3.0"
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/t-arm-elf
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/t-arm-elf?rev=130727&r1=130726&r2=130727&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/t-arm-elf (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/t-arm-elf Mon May 2 16:33:45 2011
@@ -21,6 +21,7 @@
#MULTILIB_MATCHES += march?armv7=mcpu?cortex-a8
#MULTILIB_MATCHES += march?armv7=mcpu?cortex-r4
#MULTILIB_MATCHES += march?armv7=mcpu?cortex-m3
+#MULTILIB_MATCHES += march?armv7=mcpu?cortex-a9
# APPLE LOCAL end v7 support. Merge from mainline
# MULTILIB_OPTIONS += mcpu=ep9312
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/t-darwin
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/t-darwin?rev=130727&r1=130726&r2=130727&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/t-darwin (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/t-darwin Mon May 2 16:33:45 2011
@@ -67,7 +67,8 @@
ifneq (,$(findstring armv7,$(ARM_MULTILIB_ARCHS)))
MULTILIB_MATCHES += \
march?armv7a=march?armv7-a \
- march?armv7a=mcpu?cortex-a8
+ march?armv7a=mcpu?cortex-a8 \
+ march?armv7a=mcpu?cortex-a9
endif
# APPLE LOCAL end 6611402 configurable multilib architectures
More information about the llvm-commits
mailing list