[Commits] SDL: Disabled MMX blitters on GCC. They break the build on tons ...
libsdl.org revision control
commits-owner at libsdl.org
Sat Sep 10 20:22:43 PDT 2011
details: http://hg.libsdl.org/SDL/rev/739ad55fe50d
changeset: 5883:739ad55fe50d
user: Ryan C. Gordon <icculus at icculus.org>
date: Sat Sep 10 23:21:19 2011 -0400
description:
Disabled MMX blitters on GCC. They break the build on tons of machines now.
diffstat:
src/video/SDL_RLEaccel.c | 3 ++-
src/video/SDL_blit_A.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 32558685a904 -r 739ad55fe50d src/video/SDL_RLEaccel.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
diff -r 32558685a904 -r 739ad55fe50d src/video/SDL_blit_A.c
--- 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)
More information about the commits
mailing list