diff src/cpuinfo/SDL_cpuinfo.c @ 784:a2dde6aff60e

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Sat, 17 Jan 2004 20:37:06 +0000
parents 8ac3f46f9d09
children ca06a994f03c
line wrap: on
line diff
--- 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"
 	);