@ -35,7 +35,7 @@
# if COMPILE_TEMPLATE_AMD3DNOW
# define PREFETCH "prefetch"
# define PAVGB "pavgusb"
# elif COMPILE_TEMPLATE_MMX2
# elif COMPILE_TEMPLATE_MMXEXT
# define PREFETCH "prefetchnta"
# define PAVGB "pavgb"
# else
@ -49,7 +49,7 @@
# define EMMS "emms"
# endif
# if COMPILE_TEMPLATE_MMX2
# if COMPILE_TEMPLATE_MMXEXT
# define MOVNTQ "movntq"
# define SFENCE "sfence"
# else
@ -1148,7 +1148,7 @@ static inline void RENAME(shuffle_bytes_2103)(const uint8_t *src, uint8_t *dst,
PREFETCH " 32(%1, %0) \n \t "
" movq (%1, %0), %%mm0 \n \t "
" movq 8(%1, %0), %%mm1 \n \t "
# if COMPILE_TEMPLATE_MMX2
# if COMPILE_TEMPLATE_MMXEXT
" pshufw $177, %%mm0, %%mm3 \n \t "
" pshufw $177, %%mm1, %%mm5 \n \t "
" pand %%mm7, %%mm0 \n \t "
@ -1512,7 +1512,7 @@ static inline void RENAME(yuy2toyv12)(const uint8_t *src, uint8_t *ydst, uint8_t
}
# endif /* !COMPILE_TEMPLATE_AMD3DNOW */
# if COMPILE_TEMPLATE_MMX2 || COMPILE_TEMPLATE_AMD3DNOW
# if COMPILE_TEMPLATE_MMXEXT || COMPILE_TEMPLATE_AMD3DNOW
static inline void RENAME ( planar2x ) ( const uint8_t * src , uint8_t * dst , int srcWidth , int srcHeight , int srcStride , int dstStride )
{
int x , y ;
@ -1602,7 +1602,7 @@ static inline void RENAME(planar2x)(const uint8_t *src, uint8_t *dst, int srcWid
SFENCE " \n \t "
: : : " memory " ) ;
}
# endif /* COMPILE_TEMPLATE_MMX2 || COMPILE_TEMPLATE_AMD3DNOW */
# endif /* COMPILE_TEMPLATE_MMXEXT || COMPILE_TEMPLATE_AMD3DNOW */
# if !COMPILE_TEMPLATE_AMD3DNOW
/**
@ -1810,7 +1810,7 @@ static inline void RENAME(rgb24toyv12)(const uint8_t *src, uint8_t *ydst, uint8_
" 1: \n \t "
PREFETCH " 64(%0, %% " REG_d " ) \n \t "
PREFETCH " 64(%1, %% " REG_d " ) \n \t "
# if COMPILE_TEMPLATE_MMX2 || COMPILE_TEMPLATE_AMD3DNOW
# if COMPILE_TEMPLATE_MMXEXT || COMPILE_TEMPLATE_AMD3DNOW
" movq (%0, %% " REG_d " ), %%mm0 \n \t "
" movq (%1, %% " REG_d " ), %%mm1 \n \t "
" movq 6(%0, %% " REG_d " ), %%mm2 \n \t "
@ -1871,7 +1871,7 @@ static inline void RENAME(rgb24toyv12)(const uint8_t *src, uint8_t *ydst, uint8_
" packssdw %%mm1, %%mm0 \n \t " // V1 V0 U1 U0
" psraw $7, %%mm0 \n \t "
# if COMPILE_TEMPLATE_MMX2 || COMPILE_TEMPLATE_AMD3DNOW
# if COMPILE_TEMPLATE_MMXEXT || COMPILE_TEMPLATE_AMD3DNOW
" movq 12(%0, %% " REG_d " ), %%mm4 \n \t "
" movq 12(%1, %% " REG_d " ), %%mm1 \n \t "
" movq 18(%0, %% " REG_d " ), %%mm2 \n \t "
@ -2592,9 +2592,9 @@ static inline void RENAME(rgb2rgb_init)(void)
yuyvtoyuv422 = RENAME ( yuyvtoyuv422 ) ;
# endif /* !COMPILE_TEMPLATE_SSE2 */
# if COMPILE_TEMPLATE_MMX2 || COMPILE_TEMPLATE_AMD3DNOW
# if COMPILE_TEMPLATE_MMXEXT || COMPILE_TEMPLATE_AMD3DNOW
planar2x = RENAME ( planar2x ) ;
# endif /* COMPILE_TEMPLATE_MMX2 || COMPILE_TEMPLATE_AMD3DNOW */
# endif /* COMPILE_TEMPLATE_MMXEXT || COMPILE_TEMPLATE_AMD3DNOW */
rgb24toyv12 = RENAME ( rgb24toyv12 ) ;
yuyvtoyuv420 = RENAME ( yuyvtoyuv420 ) ;