about summary refs log tree commit diff stats
path: root/src/tools/my_cpuid.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-05-26 09:21:04 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-05-26 09:21:04 +0200
commitd09a48fd03466e7160752d8ed17c9df3976d11f9 (patch)
treec862d8ae9e7df0b439645b08ed4e5265c174b908 /src/tools/my_cpuid.c
parentb5c0a857ca18fa91d0416a35e5ea9c7acf790d79 (diff)
downloadbox64-d09a48fd03466e7160752d8ed17c9df3976d11f9.tar.gz
box64-d09a48fd03466e7160752d8ed17c9df3976d11f9.zip
[INTERPRETER] my first avx opcode
Diffstat (limited to 'src/tools/my_cpuid.c')
-rw-r--r--src/tools/my_cpuid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/my_cpuid.c b/src/tools/my_cpuid.c
index 9f0614bf..a78c499d 100644
--- a/src/tools/my_cpuid.c
+++ b/src/tools/my_cpuid.c
@@ -262,6 +262,8 @@ void my_cpuid(x64emu_t* emu, uint32_t tmp32u)
                     | 1<<23     // POPCOUNT
                     | 1<<25     // aesni
                     | 1<<26     // xsave
+                    | 1<<27     // osxsave
+                    | box64_avx<<28 // AVX
                     ; 
             break;
         case 0x2:   // TLB and Cache info. Sending 1st gen P4 info...