[oe-commits] Tom Rini : tune-cortexa9.inc: Add a tune file for Cortex A9, based on Cortex A8

GIT User account git at amethyst.openembedded.net
Wed Jan 28 19:53:01 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2c5922d0dc2e24f59d8459ada26947d6ea929c31
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2c5922d0dc2e24f59d8459ada26947d6ea929c31

Author: Tom Rini <trini at embeddedalley.com>
Date:   Wed Jan 28 14:51:52 2009 -0500

tune-cortexa9.inc: Add a tune file for Cortex A9, based on Cortex A8

---

 conf/machine/include/tune-cortexa9.inc |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/conf/machine/include/tune-cortexa9.inc b/conf/machine/include/tune-cortexa9.inc
new file mode 100644
index 0000000..a12494f
--- /dev/null
+++ b/conf/machine/include/tune-cortexa9.inc
@@ -0,0 +1,9 @@
+# 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
+
+TARGET_CC_ARCH = "-march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp"
+FEED_ARCH = "armv7a"
+PACKAGE_EXTRA_ARCHS += "armv4 armv4t armv5te armv6 armv7 armv7a"
+BASE_PACKAGE_ARCH = "armv7a"





More information about the Openembedded-commits mailing list