Disabled MMX blitters on GCC. They break the build on tons of machines now. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Sat, 10 Sep 2011 23:21:19 -0400
branchSDL-1.2
changeset 5883 739ad55fe50d
parent 5882 32558685a904
child 5884 d832552bc9e5
Disabled MMX blitters on GCC. They break the build on tons of machines now.
src/video/SDL_RLEaccel.c
src/video/SDL_blit_A.c
--- a/src/video/SDL_RLEaccel.c	Sat Sep 10 19:37:20 2011 -0400
+++ b/src/video/SDL_RLEaccel.c	Sat Sep 10 23:21:19 2011 -0400
@@ -91,7 +91,8 @@
 #include "SDL_blit.h"
 #include "SDL_RLEaccel_c.h"
 
-#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
+/* Force MMX to 0; this blows up on almost every major compiler now. --ryan. */
+#if 0 && defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
 #define MMX_ASMBLIT
 #endif
 
--- a/src/video/SDL_blit_A.c	Sat Sep 10 19:37:20 2011 -0400
+++ b/src/video/SDL_blit_A.c	Sat Sep 10 23:21:19 2011 -0400
@@ -32,7 +32,8 @@
 
 #if SDL_ASSEMBLY_ROUTINES
 #  if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
-#    define MMX_ASMBLIT 1
+     /* forced MMX to 0...it breaks on most compilers now.  --ryan. */
+#    define MMX_ASMBLIT 0
 #    define GCC_ASMBLIT 1
 #  elif defined(_MSC_VER) && defined(_M_IX86)
 #    if (_MSC_VER <= 1200)