From: Andre McCurdy <armccurdy@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/5] tune-bonnell.inc: support for first generation Intel Atom CPUs
Date: Mon, 19 Oct 2015 11:59:34 -0700 [thread overview]
Message-ID: <1445281177-3309-3-git-send-email-armccurdy@gmail.com> (raw)
In-Reply-To: <1445281177-3309-1-git-send-email-armccurdy@gmail.com>
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
meta/conf/machine/include/tune-bonnell.inc | 35 ++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 meta/conf/machine/include/tune-bonnell.inc
diff --git a/meta/conf/machine/include/tune-bonnell.inc b/meta/conf/machine/include/tune-bonnell.inc
new file mode 100644
index 0000000..f6d92dc
--- /dev/null
+++ b/meta/conf/machine/include/tune-bonnell.inc
@@ -0,0 +1,35 @@
+# Settings for the GCC(1) cpu-type "bonnell":
+#
+# Intel Bonnell CPU with 64-bit extensions, MOVBE, MMX, SSE, SSE2, SSE3
+# and SSSE3 instruction set support.
+#
+# This tune is recommended for the processors based on the first generation
+# Bonnell (45nm) and Saltwell (32nm) Intel Atom CPUs.
+#
+DEFAULTTUNE ?= "bonnell-32"
+
+# Include the previous tune to pull in PACKAGE_EXTRA_ARCHS
+require conf/machine/include/tune-core2.inc
+
+# Extra tune features
+TUNEVALID[bonnell] = "Enable bonnell specific processor optimizations"
+TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "bonnell", " -march=bonnell -mtune=bonnell -msse3 -mfpmath=sse", "", d)}"
+
+# Extra tune selections
+AVAILTUNES += "bonnell-32"
+TUNE_FEATURES_tune-bonnell-32 = "${TUNE_FEATURES_tune-x86} bonnell"
+BASE_LIB_tune-bonnell-32 = "lib"
+TUNE_PKGARCH_tune-bonnell-32 = "bonnell-32"
+PACKAGE_EXTRA_ARCHS_tune-bonnell-32 = "${PACKAGE_EXTRA_ARCHS_tune-core2-32} bonnell-32"
+
+AVAILTUNES += "bonnell-64"
+TUNE_FEATURES_tune-bonnell-64 = "${TUNE_FEATURES_tune-x86-64} bonnell"
+BASE_LIB_tune-bonnell-64 = "lib64"
+TUNE_PKGARCH_tune-bonnell-64 = "bonnell-64"
+PACKAGE_EXTRA_ARCHS_tune-bonnell-64 = "${PACKAGE_EXTRA_ARCHS_tune-core2-64} bonnell-64"
+
+AVAILTUNES += "bonnell-64-x32"
+TUNE_FEATURES_tune-bonnell-64-x32 = "${TUNE_FEATURES_tune-x86-64-x32} bonnell"
+BASE_LIB_tune-bonnell-64-x32 = "libx32"
+TUNE_PKGARCH_tune-bonnell-64-x32 = "bonnell-64-x32"
+PACKAGE_EXTRA_ARCHS_tune-bonnell-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-core2-64-x32} bonnell-64-x32"
--
1.9.1
next prev parent reply other threads:[~2015-10-19 18:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-19 18:59 [PATCH 0/5] tuning support for 1st and 2nd generation Intel Atom CPUs Andre McCurdy
2015-10-19 18:59 ` [PATCH 1/5] tune-corei7.inc: fix PACKAGE_EXTRA_ARCHS_tune-corei7-32 typo Andre McCurdy
2015-10-19 18:59 ` Andre McCurdy [this message]
2015-10-19 18:59 ` [PATCH 3/5] tune-silvermont.inc: support for second generation Intel Atom CPUs Andre McCurdy
2015-10-19 18:59 ` [PATCH 4/5] tune-atom.inc: include tune-bonnell.inc instead of tune-core2.inc Andre McCurdy
2015-10-19 19:37 ` Khem Raj
2015-10-19 19:51 ` Andre McCurdy
2015-10-20 9:16 ` Richard Purdie
2015-10-20 20:55 ` Andre McCurdy
2015-10-19 18:59 ` [PATCH 5/5] tune-corei7.inc: update comments regarding Silvermont support Andre McCurdy
2015-10-22 18:57 ` [PATCH 0/5] tuning support for 1st and 2nd generation Intel Atom CPUs Saul Wold
2015-10-23 15:59 ` Saul Wold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1445281177-3309-3-git-send-email-armccurdy@gmail.com \
--to=armccurdy@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox