diff options
Diffstat (limited to 'meta/conf/machine/include/x86/tune-corei7.inc')
-rw-r--r-- | meta/conf/machine/include/x86/tune-corei7.inc | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/conf/machine/include/x86/tune-corei7.inc b/meta/conf/machine/include/x86/tune-corei7.inc new file mode 100644 index 0000000000..7798288a74 --- /dev/null +++ b/meta/conf/machine/include/x86/tune-corei7.inc | |||
@@ -0,0 +1,38 @@ | |||
1 | # Settings for the GCC(1) cpu-type "nehalem": | ||
2 | # | ||
3 | # Intel Nehalem CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, | ||
4 | # SSE4.2 and POPCNT instruction set support. | ||
5 | # | ||
6 | # This tune is recommended for Intel Nehalem and Silvermont (e.g. Bay Trail) CPUs | ||
7 | # (and beyond). | ||
8 | # | ||
9 | DEFAULTTUNE ?= "corei7-64" | ||
10 | |||
11 | # Include the previous tune to pull in PACKAGE_EXTRA_ARCHS | ||
12 | require conf/machine/include/x86/tune-core2.inc | ||
13 | |||
14 | # Extra tune features | ||
15 | TUNEVALID[corei7] = "Enable corei7 specific processor optimizations" | ||
16 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'corei7', ' -march=nehalem -mtune=generic -mfpmath=sse -msse4.2', '', d)}" | ||
17 | |||
18 | # Extra tune selections | ||
19 | AVAILTUNES += "corei7-32" | ||
20 | TUNE_FEATURES:tune-corei7-32 = "${TUNE_FEATURES:tune-x86} corei7" | ||
21 | BASE_LIB:tune-corei7-32 = "lib" | ||
22 | TUNE_PKGARCH:tune-corei7-32 = "corei7-32" | ||
23 | PACKAGE_EXTRA_ARCHS:tune-corei7-32 = "${PACKAGE_EXTRA_ARCHS:tune-core2-32} corei7-32" | ||
24 | QEMU_EXTRAOPTIONS_corei7-32 = " -cpu Nehalem,check=false" | ||
25 | |||
26 | AVAILTUNES += "corei7-64" | ||
27 | TUNE_FEATURES:tune-corei7-64 = "${TUNE_FEATURES:tune-x86-64} corei7" | ||
28 | BASE_LIB:tune-corei7-64 = "lib64" | ||
29 | TUNE_PKGARCH:tune-corei7-64 = "corei7-64" | ||
30 | PACKAGE_EXTRA_ARCHS:tune-corei7-64 = "${PACKAGE_EXTRA_ARCHS:tune-core2-64} corei7-64" | ||
31 | QEMU_EXTRAOPTIONS_corei7-64 = " -cpu Nehalem,check=false" | ||
32 | |||
33 | AVAILTUNES += "corei7-64-x32" | ||
34 | TUNE_FEATURES:tune-corei7-64-x32 = "${TUNE_FEATURES:tune-x86-64-x32} corei7" | ||
35 | BASE_LIB:tune-corei7-64-x32 = "libx32" | ||
36 | TUNE_PKGARCH:tune-corei7-64-x32 = "corei7-64-x32" | ||
37 | PACKAGE_EXTRA_ARCHS:tune-corei7-64-x32 = "${PACKAGE_EXTRA_ARCHS:tune-core2-64-x32} corei7-64-x32" | ||
38 | QEMU_EXTRAOPTIONS_corei7-64-x32 = " -cpu Nehalem,check=false" | ||