mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 10:55:34 +00:00
i386: Change stepping of Haswell to non-blacklisted value
glibc blacklists TSX on Haswell CPUs with model==60 and stepping < 4. To make the Haswell CPU model more useful, make those guests actually use TSX by changing CPU stepping to 4. References: * glibc commit 2702856bf45c82cf8e69f2064f5aa15c0ceb6359 https://sourceware.org/git/?p=glibc.git;a=commit;h=2702856bf45c82cf8e69f2064f5aa15c0ceb6359 Backports commit ec56a4a7b07e2943f49da273a31e3195083b1f2e from qemu
This commit is contained in:
parent
f865b17639
commit
9ddce7c01d
|
@ -1465,7 +1465,7 @@ static X86CPUDefinition builtin_x86_defs[] = {
|
|||
"Haswell",
|
||||
0xd, 0x80000008,
|
||||
CPUID_VENDOR_INTEL,
|
||||
6, 60, 1,
|
||||
6, 60, 4,
|
||||
{
|
||||
// FEAT_1_EDX
|
||||
CPUID_VME | CPUID_SSE2 | CPUID_SSE | CPUID_FXSR | CPUID_MMX |
|
||||
|
|
Loading…
Reference in a new issue