2008-06-10 11:36:33 +00:00
|
|
|
# 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]
|
|
|
|
# [1] http://gcc.gnu.org/onlinedocs/gcc/ARM-NEON-Intrinsics.html
|
|
|
|
# [2] http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
|
|
|
|
# [3] https://support.codesourcery.com/GNUToolchain/kbentry29
|
|
|
|
|
2009-08-24 16:39:26 +00:00
|
|
|
TARGET_CC_ARCH = "-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize"
|
|
|
|
|
2008-07-18 15:44:32 +00:00
|
|
|
# Other potentially useful options
|
|
|
|
#-ftree-vectorize -ffast-math -fno-omit-frame-pointer
|
2009-08-24 16:39:26 +00:00
|
|
|
|
2008-06-10 11:36:33 +00:00
|
|
|
FEED_ARCH = "armv7a"
|
2008-07-17 20:40:34 +00:00
|
|
|
BASE_PACKAGE_ARCH = "armv7a"
|