comparison src/video/SDL_yuv_mmx.c @ 1402:d910939febfa

Use consistent identifiers for the various platforms we support. Make sure every source file includes SDL_config.h, so the proper system headers are chosen.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 08:46:50 +0000
parents 19418e4422cb
children 0c6941483cc6
comparison
equal deleted inserted replaced
1401:1819fd069e89 1402:d910939febfa
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 22 #include "SDL_config.h"
23 #include "SDL_stdinc.h" 23
24 24 #if defined(__GNUC__) && defined(__i386__) && SDL_ASSEMBLY_ROUTINES
25 #if i386 && __GNUC__ && SDL_ASSEMBLY_BLITTERS
26 25
27 #define ASM_ARRAY(x) x[] __asm__("_" #x) __attribute__((used)) 26 #define ASM_ARRAY(x) x[] __asm__("_" #x) __attribute__((used))
28 27
29 static unsigned int ASM_ARRAY(MMX_0080w) = {0x00800080, 0x00800080}; 28 static unsigned int ASM_ARRAY(MMX_0080w) = {0x00800080, 0x00800080};
30 static unsigned int ASM_ARRAY(MMX_00FFw) = {0x00ff00ff, 0x00ff00ff}; 29 static unsigned int ASM_ARRAY(MMX_00FFw) = {0x00ff00ff, 0x00ff00ff};