diff options
author | Naveen Saini <naveen.kumar.saini@intel.com> | 2023-01-03 16:09:38 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2023-01-04 10:55:28 +0800 |
commit | 423820afb68bbf34885b69fc21700ce885044b6b (patch) | |
tree | d7f0c9d4da601d6db02e67c24d3ff95406316663 /conf | |
parent | 9595cf0e49cad3993ab7ac7d07060cf0d198341c (diff) | |
download | meta-intel-423820afb68bbf34885b69fc21700ce885044b6b.tar.gz |
intel-skylake-64: use tune-x86-64-v3.inc
tune-x86-64-v3.inc uses x86-64 v3 level of instruction set.
x86-64-v3: (close to Haswell) AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/include/tune-skylake.inc | 24 | ||||
-rw-r--r-- | conf/machine/intel-skylake-64.conf | 2 |
2 files changed, 1 insertions, 25 deletions
diff --git a/conf/machine/include/tune-skylake.inc b/conf/machine/include/tune-skylake.inc deleted file mode 100644 index b6e5527f..00000000 --- a/conf/machine/include/tune-skylake.inc +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | # Settings for the GCC(1) cpu-type "skylake": | ||
2 | # | ||
3 | # Intel Skylake CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, | ||
4 | # SSE4.2, AVX, AVX2 and POPCNT instruction set support. | ||
5 | # | ||
6 | # This tune is recommended for Intel Skylake CPU (and beyond). | ||
7 | # | ||
8 | DEFAULTTUNE ?= "skylake-64" | ||
9 | |||
10 | # Include the previous tune to pull in PACKAGE_EXTRA_ARCHS | ||
11 | require conf/machine/include/x86/tune-corei7.inc | ||
12 | |||
13 | # Extra tune features | ||
14 | TUNEVALID[skylake] = "Enable skylake specific processor optimizations" | ||
15 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'skylake', ' -march=skylake -mtune=generic -mavx2 -mfpmath=sse', '', d)}" | ||
16 | |||
17 | # Extra tune selections | ||
18 | |||
19 | AVAILTUNES += "skylake-64" | ||
20 | TUNE_FEATURES:tune-skylake-64 = "${TUNE_FEATURES:tune-x86-64} skylake" | ||
21 | BASE_LIB:tune-skylake-64 = "lib64" | ||
22 | TUNE_PKGARCH:tune-skylake-64 = "skylake-64" | ||
23 | PACKAGE_EXTRA_ARCHS:tune-skylake-64 = "${PACKAGE_EXTRA_ARCHS:tune-core2-64} skylake-64" | ||
24 | QEMU_EXTRAOPTIONS_skylake-64 = " -cpu Skylake-Client" | ||
diff --git a/conf/machine/intel-skylake-64.conf b/conf/machine/intel-skylake-64.conf index 47d53fa0..a2b392c2 100644 --- a/conf/machine/intel-skylake-64.conf +++ b/conf/machine/intel-skylake-64.conf | |||
@@ -5,7 +5,7 @@ | |||
5 | 5 | ||
6 | require conf/machine/include/meta-intel.inc | 6 | require conf/machine/include/meta-intel.inc |
7 | require conf/machine/include/x86/x86-base.inc | 7 | require conf/machine/include/x86/x86-base.inc |
8 | require conf/machine/include/tune-skylake.inc | 8 | require conf/machine/include/x86/tune-x86-64-v3.inc |
9 | require conf/machine/include/intel-common-pkgarch.inc | 9 | require conf/machine/include/intel-common-pkgarch.inc |
10 | 10 | ||
11 | MACHINE_FEATURES += "efi" | 11 | MACHINE_FEATURES += "efi" |