comparison src/video/SDL_yuv_mmx.c @ 4047:810c6f4ab7aa SDL-1.2

Merged r3207:3208 from trunk/SDL: *INDENT-OFF* for inline asm.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 11 Jul 2007 07:25:57 +0000
parents 3a9e60224efe
children ee5a38285651
comparison
equal deleted inserted replaced
4046:3a9e60224efe 4047:810c6f4ab7aa
24 #if (__GNUC__ > 2) && defined(__i386__) && SDL_ASSEMBLY_ROUTINES 24 #if (__GNUC__ > 2) && defined(__i386__) && SDL_ASSEMBLY_ROUTINES
25 25
26 #include "SDL_stdinc.h" 26 #include "SDL_stdinc.h"
27 27
28 #include "mmx.h" 28 #include "mmx.h"
29
30 /* *INDENT-OFF* */
29 31
30 static mmx_t MMX_0080w = { .ud = {0x00800080, 0x00800080} }; 32 static mmx_t MMX_0080w = { .ud = {0x00800080, 0x00800080} };
31 static mmx_t MMX_00FFw = { .ud = {0x00ff00ff, 0x00ff00ff} }; 33 static mmx_t MMX_00FFw = { .ud = {0x00ff00ff, 0x00ff00ff} };
32 static mmx_t MMX_FF00w = { .ud = {0xff00ff00, 0xff00ff00} }; 34 static mmx_t MMX_FF00w = { .ud = {0xff00ff00, 0xff00ff00} };
33 35
423 "m"(MMX_00FFw),"m"(MMX_Vgrn565),"m"(MMX_Vred5x5), 425 "m"(MMX_00FFw),"m"(MMX_Vgrn565),"m"(MMX_Vred5x5),
424 "m"(MMX_Ycoeff),"m"(MMX_red565),"m"(MMX_grn565) 426 "m"(MMX_Ycoeff),"m"(MMX_red565),"m"(MMX_grn565)
425 ); 427 );
426 } 428 }
427 429
430 /* *INDENT-ON* */
431
428 #endif /* GCC3 i386 inline assembly */ 432 #endif /* GCC3 i386 inline assembly */
429 433