Browse Source

Fix mov syntax

tags/v0.3.7
Martin Kroeker GitHub 6 years ago
parent
commit
280552b988
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common_x86_64.h

+ 1
- 1
common_x86_64.h View File

@@ -129,7 +129,7 @@ static __inline void cpuid(int op, int *eax, int *ebx, int *ecx, int *edx){
*ecx=cpuinfo[2];
*edx=cpuinfo[3];
#else
__asm__ __volatile__("mov %%ecx, 0;"
__asm__ __volatile__("mov $0, %%ecx;"
"cpuid"
: "=a" (*eax),
"=b" (*ebx),


Loading…
Cancel
Save