src/video/SDL_blit.h
changeset 5389 24903690f48a
parent 5288 d4381f3b0d1e
child 5423 b69fa50e80d7
     1.1 --- a/src/video/SDL_blit.h	Mon Feb 21 23:45:48 2011 -0800
     1.2 +++ b/src/video/SDL_blit.h	Tue Feb 22 21:44:36 2011 -0800
     1.3 @@ -24,24 +24,6 @@
     1.4  #ifndef _SDL_blit_h
     1.5  #define _SDL_blit_h
     1.6  
     1.7 -#ifdef __MINGW32__
     1.8 -#include <_mingw.h>
     1.9 -#endif
    1.10 -
    1.11 -#if defined(__MINGW32__) && defined(__MINGW64_VERSION_MAJOR)
    1.12 -#include <intrin.h>
    1.13 -#else
    1.14 -#ifdef __MMX__
    1.15 -#include <mmintrin.h>
    1.16 -#endif
    1.17 -#ifdef __SSE__
    1.18 -#include <xmmintrin.h>
    1.19 -#endif
    1.20 -#ifdef __SSE2__
    1.21 -#include <emmintrin.h>
    1.22 -#endif
    1.23 -#endif
    1.24 -
    1.25  #include "SDL_cpuinfo.h"
    1.26  #include "SDL_endian.h"
    1.27  #include "SDL_surface.h"
    1.28 @@ -62,8 +44,11 @@
    1.29  /* SDL blit CPU flags */
    1.30  #define SDL_CPU_ANY                 0x00000000
    1.31  #define SDL_CPU_MMX                 0x00000001
    1.32 +#define SDL_CPU_3DNOW               0x00000002
    1.33  #define SDL_CPU_SSE                 0x00000004
    1.34  #define SDL_CPU_SSE2                0x00000008
    1.35 +#define SDL_CPU_ALTIVEC_PREFETCH    0x00000010
    1.36 +#define SDL_CPU_ALTIVEC_NOPREFETCH  0x00000020
    1.37  
    1.38  typedef struct
    1.39  {