diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-12-30 19:38:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-06 12:03:46 +0000 |
commit | ba0326071edc4aa988ad5bfaa4215e24e31fc75b (patch) | |
tree | a3e64150a376ceaeae7bf396a7261beca37191ad /meta/conf/machine | |
parent | d32dc08a77123517877f355b174606a357f746d5 (diff) | |
download | poky-ba0326071edc4aa988ad5bfaa4215e24e31fc75b.tar.gz |
qemux86-64: build for x86-64-v3 (2013 Haswell and later) rather than Core 2 from 2006
This allows us to
- test those more recent instruction sets (AVX, AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE)
- benefit from improved performance across the stack both in kvm-driven system emulation and when running
on real silicon.
For example, glibc:
https://www.phoronix.com/news/Glibc-strcasecmp-AVX2-EVEX
v4 level is adding AVX-512, which is far less established, particularly Intel has famously backtracked
from supporting it in Alder Lake/Raport Lake client CPUs and AMD has only implemented it in very recent Zen4 products:
https://www.phoronix.com/news/GCC-11-x86-64-Feature-Levels
(From OE-Core rev: 6f2af1e5d1537b4d31e14946292bf58f0fd76fc9)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r-- | meta/conf/machine/include/x86/qemuboot-x86.inc | 4 | ||||
-rw-r--r-- | meta/conf/machine/qemux86-64.conf | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/conf/machine/include/x86/qemuboot-x86.inc b/meta/conf/machine/include/x86/qemuboot-x86.inc index 3953679366..31db1b2a61 100644 --- a/meta/conf/machine/include/x86/qemuboot-x86.inc +++ b/meta/conf/machine/include/x86/qemuboot-x86.inc | |||
@@ -4,8 +4,8 @@ QB_SMP = "-smp 4" | |||
4 | QB_CPU:x86 = "-cpu IvyBridge -machine q35,i8042=off" | 4 | QB_CPU:x86 = "-cpu IvyBridge -machine q35,i8042=off" |
5 | QB_CPU_KVM:x86 = "-cpu IvyBridge -machine q35,i8042=off" | 5 | QB_CPU_KVM:x86 = "-cpu IvyBridge -machine q35,i8042=off" |
6 | 6 | ||
7 | QB_CPU:x86-64 = "-cpu IvyBridge -machine q35,i8042=off" | 7 | QB_CPU:x86-64 = "-cpu Skylake-Client -machine q35,i8042=off" |
8 | QB_CPU_KVM:x86-64 = "-cpu IvyBridge -machine q35,i8042=off" | 8 | QB_CPU_KVM:x86-64 = "-cpu Skylake-Client -machine q35,i8042=off" |
9 | 9 | ||
10 | QB_AUDIO_DRV = "alsa" | 10 | QB_AUDIO_DRV = "alsa" |
11 | QB_AUDIO_OPT = "-device AC97" | 11 | QB_AUDIO_OPT = "-device AC97" |
diff --git a/meta/conf/machine/qemux86-64.conf b/meta/conf/machine/qemux86-64.conf index 8640867911..d355375f13 100644 --- a/meta/conf/machine/qemux86-64.conf +++ b/meta/conf/machine/qemux86-64.conf | |||
@@ -9,8 +9,8 @@ PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" | |||
9 | PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa" | 9 | PREFERRED_PROVIDER_virtual/libgles3 ?= "mesa" |
10 | 10 | ||
11 | require conf/machine/include/qemu.inc | 11 | require conf/machine/include/qemu.inc |
12 | DEFAULTTUNE ?= "core2-64" | 12 | DEFAULTTUNE ?= "x86-64-v3" |
13 | require conf/machine/include/x86/tune-corei7.inc | 13 | require conf/machine/include/x86/tune-x86-64-v3.inc |
14 | require conf/machine/include/x86/qemuboot-x86.inc | 14 | require conf/machine/include/x86/qemuboot-x86.inc |
15 | 15 | ||
16 | UBOOT_MACHINE ?= "qemu-x86_64_defconfig" | 16 | UBOOT_MACHINE ?= "qemu-x86_64_defconfig" |