diff src/cpuinfo/SDL_cpuinfo.c @ 887:b4b64bb88f2f

Date: Mon, 10 May 2004 10:17:46 -0400 From: Mike Frysinger Subject: Re: [SDL] gcc-3.4.0 / PIC fix here's a combined patch (yours and the one i mentioned earlier) that i tested with gcc-3.4.0 and gcc-3.3.3
author Sam Lantinga <slouken@libsdl.org>
date Sun, 16 May 2004 17:19:48 +0000
parents 9eb85a211abd
children 51a8702d8ecd
line wrap: on
line diff
--- a/src/cpuinfo/SDL_cpuinfo.c	Thu May 06 15:55:06 2004 +0000
+++ b/src/cpuinfo/SDL_cpuinfo.c	Sun May 16 17:19:48 2004 +0000
@@ -138,7 +138,7 @@
 "        movl    %%edi,%%ebx\n"
 	: "=m" (features)
 	:
-	: "%eax", "%ebx", "%ecx", "%edx", "%edi"
+	: "%eax", "%ecx", "%edx", "%edi"
 	);
 #elif defined(_MSC_VER)
 	__asm {
@@ -173,7 +173,7 @@
 "        movl    %%edi,%%ebx\n"
 	: "=m" (features)
 	:
-	: "%eax", "%ebx", "%ecx", "%edx", "%edi"
+	: "%eax", "%ecx", "%edx", "%edi"
 	);
 #elif defined(_MSC_VER)
 	__asm {