src/cpuinfo/SDL_cpuinfo.c
changeset 784 a2dde6aff60e
parent 778 8ac3f46f9d09
child 785 ca06a994f03c
     1.1 --- a/src/cpuinfo/SDL_cpuinfo.c	Tue Jan 13 15:14:27 2004 +0000
     1.2 +++ b/src/cpuinfo/SDL_cpuinfo.c	Sat Jan 17 20:37:06 2004 +0000
     1.3 @@ -59,7 +59,7 @@
     1.4  "        movl    $1,%0               # We have CPUID support           \n"
     1.5  "1:                                                                    \n"
     1.6  "pop %%ecx\n"
     1.7 -	: "=r" (has_CPUID)
     1.8 +	: "=m" (has_CPUID)
     1.9  	:
    1.10  	: "%eax", "%ecx"
    1.11  	);
    1.12 @@ -102,7 +102,7 @@
    1.13  "pop %%edx\n"
    1.14  "pop %%ecx\n"
    1.15  "pop %%ebx\n"
    1.16 -	: "=r" (features)
    1.17 +	: "=m" (features)
    1.18  	:
    1.19  	: "%eax", "%ebx", "%ecx", "%edx"
    1.20  	);
    1.21 @@ -162,7 +162,7 @@
    1.22  "pop %%edx\n"
    1.23  "pop %%ecx\n"
    1.24  "pop %%ebx\n"
    1.25 -	: "=r" (has_3DNow)
    1.26 +	: "=m" (has_3DNow)
    1.27  	:
    1.28  	: "%eax", "%ebx", "%ecx", "%edx"
    1.29  	);