about summary refs log tree commit diff stats
path: root/src/tools
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-06-18 14:19:16 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-06-18 14:19:16 +0200
commit17364dc4459a33b66c0eb3777c50dea641c4254d (patch)
tree15539ff03420bbd3be1dc771fe2109284292b513 /src/tools
parent59dd97cb72b1a4142ddd61eea36170de4ffff926 (diff)
downloadbox64-17364dc4459a33b66c0eb3777c50dea641c4254d.tar.gz
box64-17364dc4459a33b66c0eb3777c50dea641c4254d.zip
[32BITS] Fixed an issue with 66 A1/A3 opcodes
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/my_cpuid.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tools/my_cpuid.c b/src/tools/my_cpuid.c
index 5454e5c4..c80a5312 100644
--- a/src/tools/my_cpuid.c
+++ b/src/tools/my_cpuid.c
@@ -146,8 +146,10 @@ void my_cpuid(x64emu_t* emu, uint32_t tmp32u)
             R_EDX = 0;
             break;
         case 0x7:   // extended bits...
-            if(R_ECX==1)    R_EAX = 0; // Bit 5 is avx512_bf16
-            else R_EAX = R_ECX = R_EBX = R_EDX = 0; // TODO
+            if(R_ECX==1) {
+                R_EAX = 0; // Bit 5 is avx512_bf16
+            } else 
+                R_EAX = R_ECX = R_EBX = R_EDX = 0; // TODO
             break;
         case 0xB:   // Extended Topology Enumeration Leaf
             //TODO!