Skip to content
Permalink
Browse files

Disabled MMX blitters on GCC. They break the build on tons of machine…

…s now.
  • Loading branch information
icculus committed Sep 11, 2011
1 parent c08f2a7 commit e8e66003a5f53a9f40412b4d9d6897de5b14d60a
Showing with 4 additions and 2 deletions.
  1. +2 −1 src/video/SDL_RLEaccel.c
  2. +2 −1 src/video/SDL_blit_A.c
@@ -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

@@ -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)

0 comments on commit e8e6600

Please sign in to comment.