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 5883739ad55fe50d
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
     1.1 --- a/src/video/SDL_RLEaccel.c	Sat Sep 10 19:37:20 2011 -0400
     1.2 +++ b/src/video/SDL_RLEaccel.c	Sat Sep 10 23:21:19 2011 -0400
     1.3 @@ -91,7 +91,8 @@
     1.4  #include "SDL_blit.h"
     1.5  #include "SDL_RLEaccel_c.h"
     1.6  
     1.7 -#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
     1.8 +/* Force MMX to 0; this blows up on almost every major compiler now. --ryan. */
     1.9 +#if 0 && defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
    1.10  #define MMX_ASMBLIT
    1.11  #endif
    1.12  
     2.1 --- a/src/video/SDL_blit_A.c	Sat Sep 10 19:37:20 2011 -0400
     2.2 +++ b/src/video/SDL_blit_A.c	Sat Sep 10 23:21:19 2011 -0400
     2.3 @@ -32,7 +32,8 @@
     2.4  
     2.5  #if SDL_ASSEMBLY_ROUTINES
     2.6  #  if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
     2.7 -#    define MMX_ASMBLIT 1
     2.8 +     /* forced MMX to 0...it breaks on most compilers now.  --ryan. */
     2.9 +#    define MMX_ASMBLIT 0
    2.10  #    define GCC_ASMBLIT 1
    2.11  #  elif defined(_MSC_VER) && defined(_M_IX86)
    2.12  #    if (_MSC_VER <= 1200)