From: Matthew McClintock <msm@freescale.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH] tune-ppce6500.inc: add e6500 tune files
Date: Tue, 18 Sep 2012 17:08:08 -0500 [thread overview]
Message-ID: <1348006091-14992-4-git-send-email-msm@freescale.com> (raw)
In-Reply-To: <1348006091-14992-1-git-send-email-msm@freescale.com>
Also supports a new altivec TUNE_FEATURE
Signed-off-by: Matthew McClintock <msm@freescale.com>
---
meta/conf/machine/include/tune-ppce6500.inc | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 meta/conf/machine/include/tune-ppce6500.inc
diff --git a/meta/conf/machine/include/tune-ppce6500.inc b/meta/conf/machine/include/tune-ppce6500.inc
new file mode 100644
index 0000000..982a7a4
--- /dev/null
+++ b/meta/conf/machine/include/tune-ppce6500.inc
@@ -0,0 +1,21 @@
+DEFAULTTUNE ?= "ppce6500"
+
+require conf/machine/include/powerpc/arch-powerpc64.inc
+
+TUNEVALID[e6500] = "Enable Freescale e6500 specific processor optimizations"
+TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "e6500", "-mcpu=e6500", "", d)}"
+
+AVAILTUNES += "ppce6500 ppc64e6500"
+TUNE_FEATURES_tune-ppce6500 = "m32 fpu-hard e6500 altivec"
+BASE_LIB_tune-ppce6500 = "lib"
+TUNE_PKGARCH_tune-ppce6500 = "ppce6500"
+PACKAGE_EXTRA_ARCHS_tune-ppce6500 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc} ppce6500"
+
+TUNE_FEATURES_tune-ppc64e6500 = "m64 fpu-hard e6500 altivec"
+BASE_LIB_tune-ppc64e6500 = "lib64"
+TUNE_PKGARCH_tune-ppc64e6500 = "ppc64e6500"
+PACKAGE_EXTRA_ARCHS_tune-ppc64e6500 = "${PACKAGE_EXTRA_ARCHS_tune-powerpc64} ppc64e6500"
+
+# glibc configure options to get e6500 specific library
+GLIBC_EXTRA_OECONF_powerpc64 += "${@bb.utils.contains("TUNE_FEATURES", "e6500", "--with-cpu=e6500", "", d)}"
+GLIBC_EXTRA_OECONF_powerpc += "${@bb.utils.contains("TUNE_FEATURES", "e6500", "--with-cpu=603e", "", d)}"
--
1.7.9.7
next prev parent reply other threads:[~2012-09-18 22:21 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-18 22:08 [PATCH] eglibc_2.16.bb: replace patch with updated version that supportds e6500 Matthew McClintock
2012-09-18 22:08 ` [PATCH] eglibc_2.16.bb: refresh ppc_slow_ieee754_sqrt.patch for e6500 Matthew McClintock
2012-09-19 3:51 ` McClintock Matthew-B29882
2012-09-18 22:08 ` [PATCH] arch-powerpc.inc: add altivec as a valid tune feature Matthew McClintock
2012-09-18 22:08 ` Matthew McClintock [this message]
2012-09-18 22:19 ` [PATCH] tune-ppce6500.inc: add e6500 tune files Khem Raj
2012-09-18 22:26 ` McClintock Matthew-B29882
2012-09-18 22:08 ` [PATCH] flac_1.2.1.bb: use TUNE_FEATURES to enable/disable altivec Matthew McClintock
2012-09-18 22:08 ` [PATCH] insane.bbclass: skip checking arch (machine/bits) for powerpc kernel recipe Matthew McClintock
2012-09-18 22:44 ` Khem Raj
2012-09-18 22:47 ` McClintock Matthew-B29882
2012-09-18 22:08 ` [PATCH] binutils.inc: binutils will build differently if this feature is enabled, so add a dependency Matthew McClintock
2012-09-19 4:35 ` Burton, Ross
2012-09-19 4:52 ` McClintock Matthew-B29882
2012-09-18 22:12 ` [PATCH] eglibc_2.16.bb: replace patch with updated version that supportds e6500 McClintock Matthew-B29882
2012-09-18 22:16 ` Khem Raj
2012-09-18 22:23 ` McClintock Matthew-B29882
2012-09-18 22:30 ` Khem Raj
2012-09-18 22:32 ` McClintock Matthew-B29882
2012-09-18 22:33 ` Khem Raj
2012-09-18 22:36 ` McClintock Matthew-B29882
[not found] ` <CAEsOVNc5H63GDPb1otYddyC3Rgujv=uAXGp=ttxhHskAzE6TiA@mail.gmail.com>
2012-09-19 2:39 ` McClintock Matthew-B29882
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=1348006091-14992-4-git-send-email-msm@freescale.com \
--to=msm@freescale.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