mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-05 05:04:45 +02:00
tune-skylake.inc: remove qemu-usermode check
QEMU 7.2.0 has now support for avx2 with followign change: x86: TCG support for AVX, AVX2, F16C, FMA3 and VAES instructions Ref https://git.yoctoproject.org/poky/commit/?id=9caff14abbb742e5083056b899ee6fc0a5fba8f3 Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
parent
66d1397bfa
commit
7f8e1c5375
|
@ -12,7 +12,7 @@ require conf/machine/include/x86/tune-corei7.inc
|
|||
|
||||
# Extra tune features
|
||||
TUNEVALID[skylake] = "Enable skylake specific processor optimizations"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'skylake', ' -march=skylake ${SKYLAKE_TUNE} -mfpmath=sse', '', d)}"
|
||||
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'skylake', ' -march=skylake -mtune=generic -mavx2 -mfpmath=sse', '', d)}"
|
||||
|
||||
# Extra tune selections
|
||||
|
||||
|
@ -22,27 +22,3 @@ BASE_LIB:tune-skylake-64 = "lib64"
|
|||
TUNE_PKGARCH:tune-skylake-64 = "skylake-64"
|
||||
PACKAGE_EXTRA_ARCHS:tune-skylake-64 = "${PACKAGE_EXTRA_ARCHS:tune-core2-64} skylake-64"
|
||||
QEMU_EXTRAOPTIONS_skylake-64 = " -cpu Skylake-Client"
|
||||
|
||||
|
||||
# Disable QEMU usermode by default (get avx2)
|
||||
MACHINE_FEATURES:remove = "qemu-usermode"
|
||||
|
||||
# If qemu-usermode is enabled, we have to disable avx2 ISA extensions, but we can keep mtune as skylake vs generic
|
||||
SKYLAKE_TUNE .= "${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', ' -mtune=skylake ${QEMU_UNAVAILABLE_ISA}', '-mtune=generic -mavx2', d)}"
|
||||
|
||||
QEMU_UNAVAILABLE_ISA = " \
|
||||
-mno-avx \
|
||||
-mno-avx2 \
|
||||
-mno-avx512f \
|
||||
-mno-avx512er \
|
||||
-mno-avx512cd \
|
||||
-mno-avx512pf \
|
||||
-mno-avx512dq \
|
||||
-mno-avx512bw \
|
||||
-mno-avx512vl \
|
||||
-mno-avx512ifma \
|
||||
-mno-avx512vbmi \
|
||||
-mno-avx512vbmi2 \
|
||||
-mno-avx512vnni \
|
||||
-mno-avx512bitalg \
|
||||
"
|
||||
|
|
Loading…
Reference in New Issue
Block a user