changeset 3421:7bc83a9e09fd

cpuid doesn't actually change the flags register
author Sam Lantinga <slouken@libsdl.org>
date Fri, 30 Oct 2009 05:02:47 +0000
parents 935f36ec1844
children ec4db979dddb
files src/cpuinfo/SDL_cpuinfo.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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 {