# HG changeset patch # User Sam Lantinga # Date 1256878967 0 # Node ID 7bc83a9e09fda44926fd87225e6d9290cdd2e280 # Parent 935f36ec1844f0133467a4d6d51cbbe534b26023 cpuid doesn't actually change the flags register diff -r 935f36ec1844 -r 7bc83a9e09fd src/cpuinfo/SDL_cpuinfo.c --- a/src/cpuinfo/SDL_cpuinfo.c Fri Oct 30 04:45:01 2009 +0000 +++ b/src/cpuinfo/SDL_cpuinfo.c Fri Oct 30 05:02:47 2009 +0000 @@ -166,7 +166,7 @@ " popl %%ebx\n" : "=m" (features) : - : "%eax", "%ecx", "%edx", "cc" + : "%eax", "%ecx", "%edx" ); #elif defined(__GNUC__) && defined(__x86_64__) __asm__ ( @@ -183,7 +183,7 @@ " popq %%rbx\n" : "=m" (features) : - : "%rax", "%rcx", "%rdx", "cc" + : "%rax", "%rcx", "%rdx" ); #elif (defined(_MSC_VER) && defined(_M_IX86)) || defined(__WATCOMC__) __asm { @@ -238,7 +238,7 @@ " popl %%ebx\n" : "=m" (features) : - : "%eax", "%ecx", "%edx", "cc" + : "%eax", "%ecx", "%edx" ); #elif defined(__GNUC__) && defined (__x86_64__) __asm__ ( @@ -254,7 +254,7 @@ " popq %%rbx\n" : "=m" (features) : - : "%rax", "%rcx", "%rdx", "cc" + : "%rax", "%rcx", "%rdx" ); #elif (defined(_MSC_VER) && defined(_M_IX86)) || defined(__WATCOMC__) __asm {