diff options
author | Richard Purdie <richard@openedhand.com> | 2008-06-10 11:36:33 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-06-10 11:36:33 +0000 |
commit | d2ae519cc3db827aa4b74b300da6dc696200bea1 (patch) | |
tree | b1b3ddaf577e940afc40f0834fbba736b64da193 /meta | |
parent | 343c2cf010fc078fe506f0e649315e08fad4001a (diff) | |
download | poky-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')
-rw-r--r-- | meta/conf/machine/include/tune-armv7.inc | 6 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexa8.inc | 8 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexm1.inc | 3 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexm3.inc | 4 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexr4.inc | 4 |
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 | ||
4 | TARGET_CC_ARCH = "-march=armv7 -mfpu=vfp -mfloat-abi=softfp" | ||
5 | FEED_ARCH = "armv7" | ||
6 | PACKAGE_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 | |||
6 | TARGET_CC_ARCH = "-march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -mfloat-abi=softfp" | ||
7 | FEED_ARCH = "armv7a" | ||
8 | PACKAGE_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 @@ | |||
1 | TARGET_CC_ARCH = "-march=armv7 -mtune=cortex-m1 -mfpu=vfp -mfloat-abi=softfp" | ||
2 | FEED_ARCH = "armv6" | ||
3 | PACKAGE_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' | ||
2 | TARGET_CC_ARCH = "-march=armv7-m -mtune=cortex-m3 -mfpu=vfp -mfloat-abi=softfp" | ||
3 | FEED_ARCH = "armv7" | ||
4 | PACKAGE_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' | ||
2 | TARGET_CC_ARCH = "-march=armv7-r -mtune=cortex-r4 -mfpu=vfp -mfloat-abi=softfp" | ||
3 | FEED_ARCH = "armv7" | ||
4 | PACKAGE_ARCH = "armv7" | ||