src/cpuinfo/SDL_cpuinfo.c
changeset 784 a2dde6aff60e
parent 778 8ac3f46f9d09
child 785 ca06a994f03c
--- a/src/cpuinfo/SDL_cpuinfo.c	Tue Jan 13 15:14:27 2004 +0000
+++ b/src/cpuinfo/SDL_cpuinfo.c	Sat Jan 17 20:37:06 2004 +0000
@@ -59,7 +59,7 @@
 "        movl    $1,%0               # We have CPUID support           \n"
 "1:                                                                    \n"
 "pop %%ecx\n"
-	: "=r" (has_CPUID)
+	: "=m" (has_CPUID)
 	:
 	: "%eax", "%ecx"
 	);
@@ -102,7 +102,7 @@
 "pop %%edx\n"
 "pop %%ecx\n"
 "pop %%ebx\n"
-	: "=r" (features)
+	: "=m" (features)
 	:
 	: "%eax", "%ebx", "%ecx", "%edx"
 	);
@@ -162,7 +162,7 @@
 "pop %%edx\n"
 "pop %%ecx\n"
 "pop %%ebx\n"
-	: "=r" (has_3DNow)
+	: "=m" (has_3DNow)
 	:
 	: "%eax", "%ebx", "%ecx", "%edx"
 	);