summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2014-01-17 22:26:11 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-28 00:50:53 +0000
commitdff3daaeedbcdeefe1d1292c34796b7b234c0ec4 (patch)
tree6b7b0fcdc92850c3b36ca7b33c2aeecab346d737 /meta/conf
parentbf3cb2cf55dc1cbcb45b2d3c938895ebe81008a4 (diff)
downloadpoky-dff3daaeedbcdeefe1d1292c34796b7b234c0ec4.tar.gz
tune-corei7: Add support for cpu-type corei7
corei7 offers a significant advancement since the previous core2 cpu-type described in the tune-core2 file. From the GCC(1): Intel Core i7 CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1 and SSE4.2 instruction set support. This offers optimizations for Nehalem and Silvermont (e.g. Bay Trail) CPUs (and beyond). (From OE-Core rev: 21f8ce2a4b94034284eb74b9c3b4c9cc638511d6) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Paul Eggleton <paul.eggleton@intel.com> Cc: Tom Zanussi <tom.zanussi@intel.com> Cc: Nitin Kamble <nitin.a.kamble@intel.com> Cc: Mark Hatle <mark.hatle@windriver.com> Cc: Bruce Ashfield <bruce.ashfield@windriver.com> Cc: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/machine/include/tune-corei7.inc35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-corei7.inc b/meta/conf/machine/include/tune-corei7.inc
new file mode 100644
index 0000000000..42cf93261c
--- /dev/null
+++ b/meta/conf/machine/include/tune-corei7.inc
@@ -0,0 +1,35 @@
1# Settings for the GCC(1) cpu-type "corei7":
2#
3# Intel Core i7 CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1
4# and SSE4.2 instruction set support.
5#
6# This tune is recommended for Intel Nehalem and Silvermont (e.g. Bay Trail) CPUs
7# (and beyond).
8#
9DEFAULTTUNE ?= "corei7-64"
10
11# Pull in the previous tune in to pull in PACKAGE_EXTRA_ARCHS
12require conf/machine/include/tune-core2.inc
13
14# Extra tune features
15TUNEVALID[corei7] = "Enable corei7 specific processor optimizations"
16TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "corei7", " -march=corei7 -mtune=corei7 -mfpmath=sse -msse4.2", "", d)}"
17
18# Extra tune selections
19AVAILTUNES += "corei7-32"
20TUNE_FEATURES_tune-corei7-32 = "${TUNE_FEATURES_tune-x86} corei7"
21BASE_LIB_tune-corei7-32 = "lib"
22TUNE_PKGARCH_tune-corei7-32 = "corei7-32"
23PACKAGE_EXTRA_ARCHS_tune-corei7-32 = "${PACKAGE_EXTRA_ARCHS_tune-core2} corei7-32"
24
25AVAILTUNES += "corei7-64"
26TUNE_FEATURES_tune-corei7-64 = "${TUNE_FEATURES_tune-x86-64} corei7"
27BASE_LIB_tune-corei7-64 = "lib64"
28TUNE_PKGARCH_tune-corei7-64 = "corei7-64"
29PACKAGE_EXTRA_ARCHS_tune-corei7-64 = "${PACKAGE_EXTRA_ARCHS_tune-core2-64} corei7-64"
30
31AVAILTUNES += "corei7-64-x32"
32TUNE_FEATURES_tune-corei7-64-x32 = "${TUNE_FEATURES_tune-x86-64-x32} corei7"
33BASE_LIB_tune-corei7-64-x32 = "libx32"
34TUNE_PKGARCH_tune-corei7-64-x32 = "corei7-64-x32"
35PACKAGE_EXTRA_ARCHS_tune-corei7-64-x32 = "${PACKAGE_EXTRA_ARCHS_tune-core2-64-x32} corei7-64-x32"