summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/tune-cortexa8.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/machine/include/tune-cortexa8.inc')
-rw-r--r--meta/conf/machine/include/tune-cortexa8.inc21
1 files changed, 11 insertions, 10 deletions
diff --git a/meta/conf/machine/include/tune-cortexa8.inc b/meta/conf/machine/include/tune-cortexa8.inc
index ae5095486b..02b560cecf 100644
--- a/meta/conf/machine/include/tune-cortexa8.inc
+++ b/meta/conf/machine/include/tune-cortexa8.inc
@@ -1,15 +1,16 @@
1require conf/machine/include/arm/arch-arm.inc 1DEFAULTTUNE ?= "cortexa8-neon"
2 2
3require conf/machine/include/arm/arch-armv7a.inc
3 4
4# 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] 5TUNEVALID[cortexa8] = "Enable Cortex-A8 specific processor optimizations"
5# [1] http://gcc.gnu.org/onlinedocs/gcc/ARM-NEON-Intrinsics.html 6TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexa8", "-mtune=cortex-a8", "", d)}"
6# [2] http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
7# [3] https://support.codesourcery.com/GNUToolchain/kbentry29
8 7
9TUNE_CCARGS = "-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize" 8AVAILTUNES += "cortexa8 cortexa8t"
9TUNE_FEATURES_tune-cortexa8 = "${TUNE_FEATURES_tune-armv7a} cortexa8"
10TUNE_FEATURES_tune-cortexa8t = "${TUNE_FEATURES_tune-armv7at} cortexa8"
11TUNE_FEATURES_tune-cortexa8-neon = "${TUNE_FEATURES_tune-cortexa8} neon"
10 12
11# Other potentially useful options 13PACKAGE_EXTRA_ARCHS_tune-cortexa8 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}"
12#-ftree-vectorize -ffast-math -fno-omit-frame-pointer 14PACKAGE_EXTRA_ARCHS_tune-cortexa8t = "${PACKAGE_EXTRA_ARCHS_tune-armv7at}"
15PACKAGE_EXTRA_ARCHS_tune-cortexa8-neon = "${PACKAGE_EXTRA_ARCHS_tune-armv7at-neon}"
13 16
14TUNE_PKGARCH = "armv7a"
15PACKAGE_EXTRA_ARCHS = "arm armv4 armv4t armv5te armv6 armv7 armv7a"