[oe-commits] Saul Wold : tune-i586-nlp: Add new tune file to support Quark/X1000 CPU

git at git.openembedded.org git at git.openembedded.org
Wed Jul 1 14:40:53 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 7eb0abc5f4d971d9a511c93cfb2eb52b72e6f228
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7eb0abc5f4d971d9a511c93cfb2eb52b72e6f228

Author: Saul Wold <sgw at linux.intel.com>
Date:   Mon Jun 29 07:10:50 2015 -0700

tune-i586-nlp: Add new tune file to support Quark/X1000 CPU

This tune file is needed to enable a GAS option specific to this cpu family
in order to disable the usage of lock prefix instructions.

Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/conf/machine/include/tune-i586-nlp.inc | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/meta/conf/machine/include/tune-i586-nlp.inc b/meta/conf/machine/include/tune-i586-nlp.inc
new file mode 100644
index 0000000..e30602b
--- /dev/null
+++ b/meta/conf/machine/include/tune-i586-nlp.inc
@@ -0,0 +1,19 @@
+# Settings for the GCC(1) cpu-type "quark":
+#
+#
+#
+DEFAULTTUNE ?= "i586-nlp-32"
+
+# Include the previous tune to pull in PACKAGE_EXTRA_ARCHS
+require conf/machine/include/x86/arch-x86.inc
+
+# x86 with no lock prefix
+TUNEVALID[i586-nlp] = "IA32 with Lock Prefix omitted"
+TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "i586-nlp", " -march=i586 -Wa,-momit-lock-prefix=yes", "", d)}"
+
+# Quark tune feature
+AVAILTUNES = "i586-nlp-32"
+TUNE_FEATURES_tune-i586-nlp-32 = "${TUNE_FEATURES_tune-x86} i586-nlp"
+BASE_LIB_tune-i586-nlp-32 = "lib"
+TUNE_PKGARCH_tune-i586-nlp-32 = "i586-nlp-32"
+PACKAGE_EXTRA_ARCHS_tune-i586-nlp-32 = "i586-nlp-32"



More information about the Openembedded-commits mailing list