diff options
Diffstat (limited to 'meta/conf/machine')
-rw-r--r-- | meta/conf/machine/include/tune-core2.inc | 10 |
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 | # | ||
1 | DEFAULTTUNE ?= "core2" | 9 | DEFAULTTUNE ?= "core2" |
2 | 10 | ||
3 | require conf/machine/include/tune-i586.inc | 11 | require conf/machine/include/tune-i586.inc |
4 | 12 | ||
5 | # Extra tune features | 13 | # Extra tune features |
6 | TUNEVALID[core2] = "Enable core2 specific processor optimizations" | 14 | TUNEVALID[core2] = "Enable core2 specific processor optimizations" |
7 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "core2", " -march=core2 -msse3 -mtune=generic -mfpmath=sse", "", d)}" | 15 | TUNE_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 |
10 | AVAILTUNES += "core2" | 18 | AVAILTUNES += "core2" |