diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-06-07 17:04:14 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-06-07 17:04:14 +0200 |
| commit | 65c19d073c1aeaa92037cbe090383d94e6100d71 (patch) | |
| tree | 43456076ec06a9fe731e0c35de6f9916efdfd8a2 | |
| parent | eb013f3492e8f8ab63d9894f8eefe0f01827db38 (diff) | |
| download | box64-65c19d073c1aeaa92037cbe090383d94e6100d71.tar.gz box64-65c19d073c1aeaa92037cbe090383d94e6100d71.zip | |
Only expose xsave extension if avx is used
| -rw-r--r-- | src/tools/my_cpuid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/my_cpuid.c b/src/tools/my_cpuid.c index 0b71e4f7..06d810aa 100644 --- a/src/tools/my_cpuid.c +++ b/src/tools/my_cpuid.c @@ -261,8 +261,8 @@ void my_cpuid(x64emu_t* emu, uint32_t tmp32u) | 1<<22 // MOVBE | 1<<23 // POPCOUNT | 1<<25 // aesni - | 1<<26 // xsave - | 1<<27 // osxsave + | box64_avx<<26 // xsave + | box64_avx<<27 // osxsave | box64_avx<<28 // AVX | box64_avx<<29 // F16C ; |