about summary refs log tree commit diff stats
path: root/src/tools
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-05-27 16:50:26 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-05-27 16:50:26 +0200
commit3dc396a64775a0aa8aae55513eda0d326cb50080 (patch)
treecb75ba1cd5e26d37cb2ba970d65275f2a393ce15 /src/tools
parentc358bf448f7bc0f933cbf17d7e6184fc7720a237 (diff)
downloadbox64-3dc396a64775a0aa8aae55513eda0d326cb50080.tar.gz
box64-3dc396a64775a0aa8aae55513eda0d326cb50080.zip
Fixed cpuid leaf d, component 2 (fixes wine 9.6+ not booting)
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/my_cpuid.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/tools/my_cpuid.c b/src/tools/my_cpuid.c
index 68f902e9..2ed0e3a6 100644
--- a/src/tools/my_cpuid.c
+++ b/src/tools/my_cpuid.c
@@ -350,20 +350,6 @@ void my_cpuid(x64emu_t* emu, uint32_t tmp32u)
                 R_ECX = R_EBX = R_EDX = 0;
                 break;
             case 2:
-                // componant 0: x87
-                R_EAX = 160; // size of the x87 block
-                R_EBX = 0;  // offset
-                R_ECX = 0;
-                R_EDX = 0;
-                break;
-            case 3:
-                // componant 1: sse
-                R_EAX = 16*16; // size of the sse block
-                R_EBX = 160;  // offset
-                R_ECX = 0;
-                R_EDX = 0;
-                break;
-            case 4:
                 // componant 2: avx
                 R_EAX = 16*16; // size of the avx block
                 R_EBX = 512+64;  // offset