diff options
Diffstat (limited to 'meta/conf/machine/include/tune-cortexa8.inc')
-rw-r--r-- | meta/conf/machine/include/tune-cortexa8.inc | 8 |
1 files changed, 8 insertions, 0 deletions
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" | ||