Mercurial > sdl-ios-xcode
comparison src/video/SDL_yuv_mmx.c @ 1358:c71e05b4dc2e
More header massaging... works great on Windows. ;-)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 10 Feb 2006 06:48:43 +0000 |
parents | c9b51268668f |
children | 19418e4422cb |
comparison
equal
deleted
inserted
replaced
1357:e18467d67cfd | 1358:c71e05b4dc2e |
---|---|
18 | 18 |
19 Sam Lantinga | 19 Sam Lantinga |
20 slouken@libsdl.org | 20 slouken@libsdl.org |
21 */ | 21 */ |
22 | 22 |
23 #include "SDL_stdinc.h" | |
23 | 24 |
24 #if defined(i386) && defined(__GNUC__) && defined(USE_ASMBLIT) | 25 #if defined(i386) && defined(__GNUC__) && defined(USE_ASMBLIT) |
25 | |
26 #include "SDL_types.h" | |
27 | 26 |
28 #define ASM_ARRAY(x) x[] __asm__("_" #x) __attribute__((used)) | 27 #define ASM_ARRAY(x) x[] __asm__("_" #x) __attribute__((used)) |
29 | 28 |
30 static unsigned int ASM_ARRAY(MMX_0080w) = {0x00800080, 0x00800080}; | 29 static unsigned int ASM_ARRAY(MMX_0080w) = {0x00800080, 0x00800080}; |
31 static unsigned int ASM_ARRAY(MMX_00FFw) = {0x00ff00ff, 0x00ff00ff}; | 30 static unsigned int ASM_ARRAY(MMX_00FFw) = {0x00ff00ff, 0x00ff00ff}; |