diff options
Diffstat (limited to 'src/tools/my_cpuid.c')
| -rw-r--r-- | src/tools/my_cpuid.c | 6 |
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! |