diff src/video/SDL_blit.c @ 2255:17b2369756be

Use MMX intrinsics over GCC inline assembly
author Sam Lantinga <slouken@libsdl.org>
date Thu, 16 Aug 2007 22:18:53 +0000
parents 79e00f5561f4
children 340942cfda48
line wrap: on
line diff
--- a/src/video/SDL_blit.c	Thu Aug 16 21:54:26 2007 +0000
+++ b/src/video/SDL_blit.c	Thu Aug 16 22:18:53 2007 +0000
@@ -28,15 +28,6 @@
 #include "SDL_RLEaccel_c.h"
 #include "SDL_pixels_c.h"
 
-#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) && SDL_ASSEMBLY_ROUTINES
-#define MMX_ASMBLIT
-#endif
-
-#if defined(MMX_ASMBLIT)
-#include "SDL_cpuinfo.h"
-#include "mmx.h"
-#endif
-
 /* The general purpose software blit routine */
 static int
 SDL_SoftBlit(SDL_Surface * src, SDL_Rect * srcrect,