summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/tune-skylake.inc
diff options
context:
space:
mode:
authorNaveen Saini <naveen.kumar.saini@intel.com>2023-01-03 16:09:38 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2023-01-04 10:55:28 +0800
commit423820afb68bbf34885b69fc21700ce885044b6b (patch)
treed7f0c9d4da601d6db02e67c24d3ff95406316663 /conf/machine/include/tune-skylake.inc
parent9595cf0e49cad3993ab7ac7d07060cf0d198341c (diff)
downloadmeta-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/machine/include/tune-skylake.inc')
-rw-r--r--conf/machine/include/tune-skylake.inc24
1 files changed, 0 insertions, 24 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#
8DEFAULTTUNE ?= "skylake-64"
9
10# Include the previous tune to pull in PACKAGE_EXTRA_ARCHS
11require conf/machine/include/x86/tune-corei7.inc
12
13# Extra tune features
14TUNEVALID[skylake] = "Enable skylake specific processor optimizations"
15TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'skylake', ' -march=skylake -mtune=generic -mavx2 -mfpmath=sse', '', d)}"
16
17# Extra tune selections
18
19AVAILTUNES += "skylake-64"
20TUNE_FEATURES:tune-skylake-64 = "${TUNE_FEATURES:tune-x86-64} skylake"
21BASE_LIB:tune-skylake-64 = "lib64"
22TUNE_PKGARCH:tune-skylake-64 = "skylake-64"
23PACKAGE_EXTRA_ARCHS:tune-skylake-64 = "${PACKAGE_EXTRA_ARCHS:tune-core2-64} skylake-64"
24QEMU_EXTRAOPTIONS_skylake-64 = " -cpu Skylake-Client"