src/video/SDL_yuv_mmx.c
changeset 1407 0c6941483cc6
parent 1402 d910939febfa
child 1413 40edc79b0926
equal deleted inserted replaced
1406:39ca9a4b22f3 1407:0c6941483cc6
    20     slouken@libsdl.org
    20     slouken@libsdl.org
    21 */
    21 */
    22 #include "SDL_config.h"
    22 #include "SDL_config.h"
    23 
    23 
    24 #if defined(__GNUC__) && defined(__i386__) && SDL_ASSEMBLY_ROUTINES
    24 #if defined(__GNUC__) && defined(__i386__) && SDL_ASSEMBLY_ROUTINES
       
    25 
       
    26 #include "SDL_stdinc.h"
    25 
    27 
    26 #define ASM_ARRAY(x) x[] __asm__("_" #x) __attribute__((used))
    28 #define ASM_ARRAY(x) x[] __asm__("_" #x) __attribute__((used))
    27  
    29  
    28 static unsigned int  ASM_ARRAY(MMX_0080w)    = {0x00800080, 0x00800080};
    30 static unsigned int  ASM_ARRAY(MMX_0080w)    = {0x00800080, 0x00800080};
    29 static unsigned int  ASM_ARRAY(MMX_00FFw)    = {0x00ff00ff, 0x00ff00ff};
    31 static unsigned int  ASM_ARRAY(MMX_00FFw)    = {0x00ff00ff, 0x00ff00ff};