All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre McCurdy <armccurdy@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 3/5] tune-silvermont.inc: support for second generation Intel Atom CPUs
Date: Mon, 19 Oct 2015 11:59:35 -0700	[thread overview]
Message-ID: <1445281177-3309-4-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-silvermont.inc | 36 +++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 meta/conf/machine/include/tune-silvermont.inc

diff --git a/meta/conf/machine/include/tune-silvermont.inc b/meta/conf/machine/include/tune-silvermont.inc
new file mode 100644
index 0000000..19bff65
--- /dev/null
+++ b/meta/conf/machine/include/tune-silvermont.inc
@@ -0,0 +1,36 @@
+# Settings for the GCC(1) cpu-type "silvermont":
+#
+#      Intel Silvermont CPU with 64-bit extensions, MOVBE, MMX, SSE, SSE2, SSE3,
+#      SSSE3, SSE4.1, SSE4.2, POPCNT, AES, PCLMUL and RDRND instruction set
+#      support. 
+#
+# This tune is recommended for the processors based on the second generation
+# Silvermont (22nm) Intel Atom CPUs.
+#
+DEFAULTTUNE ?= "silvermont-32"
+
+# Include the previous tune to pull in PACKAGE_EXTRA_ARCHS
+require conf/machine/include/tune-bonnell.inc
+
+# Extra tune features
+TUNEVALID[silvermont] = "Enable silvermont specific processor optimizations"
+TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "silvermont", " -march=silvermont -mtune=silvermont -msse4.2 -mfpmath=sse", "", d)}"
+
+# Extra tune selections
+AVAILTUNES += "silvermont-32"
+TUNE_FEATURES_tune-silvermont-32 = "${TUNE_FEATURES_tune-x86} silvermont"
+BASE_LIB_tune-silvermont-32 = "lib"
+TUNE_PKGARCH_tune-silvermont-32 = "silvermont-32"
+PACKAGE_EXTRA_ARCHS_tune-silvermont-32 = "${PACKAGE_EXTRA_ARCHS_tune-bonnell-32} silvermont-32"
+
+AVAILTUNES += "silvermont-64"
+TUNE_FEATURES_tune-silvermont-64 = "${TUNE_FEATURES_tune-x86-64} silvermont"
+BASE_LIB_tune-silvermont-64 = "lib64"
+TUNE_PKGARCH_tune-silvermont-64 = "silvermont-64"
+PACKAGE_EXTRA_ARCHS_tune-silvermont-64 = "${PACKAGE_EXTRA_ARCHS_tune-bonnell-64} silvermont-64"
+
+AVAILTUNES += "silvermont-64-x32"
+TUNE_FEATURES_tune-silvermont-64-x32 = "${TUNE_FEATURES_tune-x86-64-x32} silvermont"
+BASE_LIB_tune-silvermont-64-x32 = "libx32"
+TUNE_PKGARCH_tune-silvermont-64-x32 = "silvermont-64-x32"
+PACKAGE_EXTRA_ARCHS_tune-silvermont-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-bonnell-64-x32} silvermont-64-x32"
-- 
1.9.1



  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 ` [PATCH 2/5] tune-bonnell.inc: support for first generation Intel Atom CPUs Andre McCurdy
2015-10-19 18:59 ` Andre McCurdy [this message]
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-4-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.