summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/machine/include/tune-core2.inc10
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/conf/machine/include/tune-core2.inc b/meta/conf/machine/include/tune-core2.inc
index 85b69240ce..3b251972bb 100644
--- a/meta/conf/machine/include/tune-core2.inc
+++ b/meta/conf/machine/include/tune-core2.inc
@@ -1,10 +1,18 @@
1# Settings for the GCC(1) cpu-type "core2":
2#
3# Intel Core2 CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3 and SSSE3
4# instruction set support.
5#
6# This tune is recommended for the Intel Core 2 CPU family, including Conroe,
7# Merom and beyond, as well as the first Atom CPUs, Diamondville, and beyond.
8#
1DEFAULTTUNE ?= "core2" 9DEFAULTTUNE ?= "core2"
2 10
3require conf/machine/include/tune-i586.inc 11require conf/machine/include/tune-i586.inc
4 12
5# Extra tune features 13# Extra tune features
6TUNEVALID[core2] = "Enable core2 specific processor optimizations" 14TUNEVALID[core2] = "Enable core2 specific processor optimizations"
7TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "core2", " -march=core2 -msse3 -mtune=generic -mfpmath=sse", "", d)}" 15TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "core2", " -march=core2 -mtune=core2 -msse3 -mfpmath=sse", "", d)}"
8 16
9# Extra tune selections 17# Extra tune selections
10AVAILTUNES += "core2" 18AVAILTUNES += "core2"