Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
cpuid doesn't actually change the flags register
  • Loading branch information
slouken committed Oct 30, 2009
1 parent 6ee369a commit e2d96c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/cpuinfo/SDL_cpuinfo.c
Expand Up @@ -166,7 +166,7 @@ CPU_getCPUIDFeatures(void)
" popl %%ebx\n"
: "=m" (features)
:
: "%eax", "%ecx", "%edx", "cc"
: "%eax", "%ecx", "%edx"
);
#elif defined(__GNUC__) && defined(__x86_64__)
__asm__ (
Expand All @@ -183,7 +183,7 @@ CPU_getCPUIDFeatures(void)
" popq %%rbx\n"
: "=m" (features)
:
: "%rax", "%rcx", "%rdx", "cc"
: "%rax", "%rcx", "%rdx"
);
#elif (defined(_MSC_VER) && defined(_M_IX86)) || defined(__WATCOMC__)
__asm {
Expand Down Expand Up @@ -238,7 +238,7 @@ CPU_getCPUIDFeaturesExt(void)
" popl %%ebx\n"
: "=m" (features)
:
: "%eax", "%ecx", "%edx", "cc"
: "%eax", "%ecx", "%edx"
);
#elif defined(__GNUC__) && defined (__x86_64__)
__asm__ (
Expand All @@ -254,7 +254,7 @@ CPU_getCPUIDFeaturesExt(void)
" popq %%rbx\n"
: "=m" (features)
:
: "%rax", "%rcx", "%rdx", "cc"
: "%rax", "%rcx", "%rdx"
);
#elif (defined(_MSC_VER) && defined(_M_IX86)) || defined(__WATCOMC__)
__asm {
Expand Down

0 comments on commit e2d96c4

Please sign in to comment.