mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-01 13:58:05 +00:00
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>
25 lines
964 B
HTML
25 lines
964 B
HTML
# Settings for the GCC(1) cpu-type "skylake":
|
|
#
|
|
# Intel Skylake CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1,
|
|
# SSE4.2, AVX, AVX2 and POPCNT instruction set support.
|
|
#
|
|
# This tune is recommended for Intel Skylake CPU (and beyond).
|
|
#
|
|
DEFAULTTUNE ?= "skylake-64"
|
|
|
|
# Include the previous tune to pull in PACKAGE_EXTRA_ARCHS
|
|
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 -mtune=generic -mavx2 -mfpmath=sse', '', d)}"
|
|
|
|
# Extra tune selections
|
|
|
|
AVAILTUNES += "skylake-64"
|
|
TUNE_FEATURES:tune-skylake-64 = "${TUNE_FEATURES:tune-x86-64} skylake"
|
|
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"
|