comparison libvo/osd_template.c @ 25973:ef4297ed0d12

libvo: change asm syntax to use ASMALIGN and " # nop" Change ".balign 16\n\t" to ASMALIGN(4) and "/nop" to " # nop". The new version is what other code in MPlayer uses, and works with old assembler versions like that used on OS X.
author uau
date Fri, 15 Feb 2008 21:52:34 +0000
parents 7a1397677cb3
children 08d18fe9da52
comparison
equal deleted inserted replaced
25972:63531b22e351 25973:ef4297ed0d12
14 #elif defined ( HAVE_MMX2 ) 14 #elif defined ( HAVE_MMX2 )
15 #define PREFETCH "prefetchnta" 15 #define PREFETCH "prefetchnta"
16 #define PREFETCHW "prefetcht0" 16 #define PREFETCHW "prefetcht0"
17 #define PAVGB "pavgb" 17 #define PAVGB "pavgb"
18 #else 18 #else
19 #define PREFETCH "/nop" 19 #define PREFETCH " # nop"
20 #define PREFETCHW "/nop" 20 #define PREFETCHW " # nop"
21 #endif 21 #endif
22 22
23 #ifdef HAVE_3DNOW 23 #ifdef HAVE_3DNOW
24 /* On K6 femms is faster of emms. On K7 femms is directly mapped on emms. */ 24 /* On K6 femms is faster of emms. On K7 femms is directly mapped on emms. */
25 #define EMMS "femms" 25 #define EMMS "femms"