about summary refs log tree commit diff stats
path: root/src/tools
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-11-21 12:08:43 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-11-21 12:08:43 +0100
commitc1f2304c887afc2e25becbf33ad3646cb8554a4c (patch)
tree6f2b146b522edc4bef40fc7e15d20d855b8dfc3b /src/tools
parent85c6e28d472a6ffd8ff54d8e8ac4d53945778a1b (diff)
downloadbox64-c1f2304c887afc2e25becbf33ad3646cb8554a4c.tar.gz
box64-c1f2304c887afc2e25becbf33ad3646cb8554a4c.zip
Small fix for XSAVE/XRSTOR opcodes ([DYNAREC] too)
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/my_cpuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/my_cpuid.c b/src/tools/my_cpuid.c
index 067714bc..b30466f3 100644
--- a/src/tools/my_cpuid.c
+++ b/src/tools/my_cpuid.c
@@ -366,7 +366,7 @@ void my_cpuid(x64emu_t* emu, uint32_t tmp32u)
             case 0:
                 R_EAX = 0b111;          // x87 SSE AVX saved
                 R_EBX = 512+64+16*16;     // size of xsave/xrstor
-                R_ECX = 512+64+16*16;     // same
+                R_ECX = 512+64+16*16;     // maximum size of xsave area
                 R_EDX = 0;              // more bits
                 break;
             case 1: