about summary refs log tree commit diff stats
path: root/src/tools
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-08-28 16:46:59 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-08-28 16:46:59 +0200
commit3aa12a52eb7185a6675f6d59c63e31b94b4f1c0f (patch)
treed4a7011e478dd91ef20548450443c842d2ec10e8 /src/tools
parent5f31e0e093f87e91dc71de7866450f0036deb91b (diff)
downloadbox64-3aa12a52eb7185a6675f6d59c63e31b94b4f1c0f.tar.gz
box64-3aa12a52eb7185a6675f6d59c63e31b94b4f1c0f.zip
Added AES-NI cpu extension support ([DYNAREC] too, using AES extension if available)
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/my_cpuid.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/my_cpuid.c b/src/tools/my_cpuid.c
index e3f716be..2cb4b92c 100644
--- a/src/tools/my_cpuid.c
+++ b/src/tools/my_cpuid.c
@@ -53,6 +53,7 @@ void my_cpuid(x64emu_t* emu, uint32_t tmp32u)
                     | 1<<9      // SSSE3
                     | 1<<12     // fma
                     | 1<<13     // cx16 (cmpxchg16)
+                    | 1<<25     // aesni
                     ; 
             break;
         case 0x2:   // TLB and Cache info. Sending 1st gen P4 info...