summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-06-10 11:36:33 +0000
committerRichard Purdie <richard@openedhand.com>2008-06-10 11:36:33 +0000
commitd2ae519cc3db827aa4b74b300da6dc696200bea1 (patch)
treeb1b3ddaf577e940afc40f0834fbba736b64da193 /meta/conf/machine/include
parent343c2cf010fc078fe506f0e649315e08fad4001a (diff)
downloadpoky-d2ae519cc3db827aa4b74b300da6dc696200bea1.tar.gz
conf/machine/include: Add tuning .inc files from OE.dev
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4615 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf/machine/include')
-rw-r--r--meta/conf/machine/include/tune-armv7.inc6
-rw-r--r--meta/conf/machine/include/tune-cortexa8.inc8
-rw-r--r--meta/conf/machine/include/tune-cortexm1.inc3
-rw-r--r--meta/conf/machine/include/tune-cortexm3.inc4
-rw-r--r--meta/conf/machine/include/tune-cortexr4.inc4
5 files changed, 25 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-armv7.inc b/meta/conf/machine/include/tune-armv7.inc
new file mode 100644
index 0000000000..6276fe6798
--- /dev/null
+++ b/meta/conf/machine/include/tune-armv7.inc
@@ -0,0 +1,6 @@
1# valid options for -march: `armv7', `armv7-a', `armv7-r', `armv7-m'
2# valid option for -mtune: `cortex-a8', `cortex-r4', `cortex-m3', `cortex-m1'
3# This will NOT compile programs in 'ARM' mode, which is what you really want
4TARGET_CC_ARCH = "-march=armv7 -mfpu=vfp -mfloat-abi=softfp"
5FEED_ARCH = "armv7"
6PACKAGE_ARCH = "armv7"
diff --git a/meta/conf/machine/include/tune-cortexa8.inc b/meta/conf/machine/include/tune-cortexa8.inc
new file mode 100644
index 0000000000..f886366f10
--- /dev/null
+++ b/meta/conf/machine/include/tune-cortexa8.inc
@@ -0,0 +1,8 @@
1# Instead of using -mfpu=vfp[2] we can use -mfpu=neon to make use of gcc intrinsics[1] and vectorize loops with -ftree-vectorize[3]
2# [1] http://gcc.gnu.org/onlinedocs/gcc/ARM-NEON-Intrinsics.html
3# [2] http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
4# [3] https://support.codesourcery.com/GNUToolchain/kbentry29
5
6TARGET_CC_ARCH = "-march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -mfloat-abi=softfp"
7FEED_ARCH = "armv7a"
8PACKAGE_ARCH = "armv7a"
diff --git a/meta/conf/machine/include/tune-cortexm1.inc b/meta/conf/machine/include/tune-cortexm1.inc
new file mode 100644
index 0000000000..a0d18b69c6
--- /dev/null
+++ b/meta/conf/machine/include/tune-cortexm1.inc
@@ -0,0 +1,3 @@
1TARGET_CC_ARCH = "-march=armv7 -mtune=cortex-m1 -mfpu=vfp -mfloat-abi=softfp"
2FEED_ARCH = "armv6"
3PACKAGE_ARCH = "armv6"
diff --git a/meta/conf/machine/include/tune-cortexm3.inc b/meta/conf/machine/include/tune-cortexm3.inc
new file mode 100644
index 0000000000..3598998a74
--- /dev/null
+++ b/meta/conf/machine/include/tune-cortexm3.inc
@@ -0,0 +1,4 @@
1# valid options for -march: `armv7', `armv7-m'
2TARGET_CC_ARCH = "-march=armv7-m -mtune=cortex-m3 -mfpu=vfp -mfloat-abi=softfp"
3FEED_ARCH = "armv7"
4PACKAGE_ARCH = "armv7"
diff --git a/meta/conf/machine/include/tune-cortexr4.inc b/meta/conf/machine/include/tune-cortexr4.inc
new file mode 100644
index 0000000000..93c82e8607
--- /dev/null
+++ b/meta/conf/machine/include/tune-cortexr4.inc
@@ -0,0 +1,4 @@
1# valid options for -march: `armv7', `armv7-r'
2TARGET_CC_ARCH = "-march=armv7-r -mtune=cortex-r4 -mfpu=vfp -mfloat-abi=softfp"
3FEED_ARCH = "armv7"
4PACKAGE_ARCH = "armv7"