Mercurial > mplayer.hg
diff liba52/resample_mmx.c @ 4247:2dbd637ffe05
mangle for win32 in liba52 (includes dummy mangle.h pointing to the one in main)
author | atmos4 |
---|---|
date | Sat, 19 Jan 2002 05:12:34 +0000 |
parents | ef32c8bdee81 |
children | 9fc45fe0d444 |
line wrap: on
line diff
--- a/liba52/resample_mmx.c Sat Jan 19 04:47:32 2002 +0000 +++ b/liba52/resample_mmx.c Sat Jan 19 05:12:34 2002 +0000 @@ -17,10 +17,10 @@ int32_t * f = (int32_t *) _f; asm volatile( "movl $-512, %%esi \n\t" - "movq magicF2W, %%mm7 \n\t" - "movq wm1100, %%mm3 \n\t" - "movq wm0101, %%mm4 \n\t" - "movq wm1010, %%mm5 \n\t" + "movq "MANGLE(magicF2W)", %%mm7 \n\t" + "movq "MANGLE(wm1100)", %%mm3 \n\t" + "movq "MANGLE(wm0101)", %%mm4 \n\t" + "movq "MANGLE(wm1010)", %%mm5 \n\t" "pxor %%mm6, %%mm6 \n\t" "1: \n\t" "movq (%1, %%esi, 2), %%mm0 \n\t" @@ -73,7 +73,7 @@ );*/ asm volatile( "movl $-1024, %%esi \n\t" - "movq magicF2W, %%mm7 \n\t" + "movq "MANGLE(magicF2W)", %%mm7 \n\t" "1: \n\t" "movq (%1, %%esi), %%mm0 \n\t" "movq 8(%1, %%esi), %%mm1 \n\t" @@ -104,7 +104,7 @@ int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" - "movq magicF2W, %%mm7 \n\t" + "movq "MANGLE(magicF2W)", %%mm7 \n\t" "pxor %%mm6, %%mm6 \n\t" "movq %%mm7, %%mm5 \n\t" "punpckldq %%mm6, %%mm5 \n\t" @@ -160,7 +160,7 @@ int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" - "movq magicF2W, %%mm7 \n\t" + "movq "MANGLE(magicF2W)", %%mm7 \n\t" "1: \n\t" "movq (%1, %%esi), %%mm0 \n\t" "movq 8(%1, %%esi), %%mm1 \n\t" @@ -212,7 +212,7 @@ int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" - "movq magicF2W, %%mm7 \n\t" + "movq "MANGLE(magicF2W)", %%mm7 \n\t" "1: \n\t" "movd (%1, %%esi), %%mm0 \n\t" "punpckldq 2048(%1, %%esi), %%mm0\n\t" @@ -272,7 +272,7 @@ int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" - "movq magicF2W, %%mm7 \n\t" + "movq "MANGLE(magicF2W)", %%mm7 \n\t" "pxor %%mm6, %%mm6 \n\t" "1: \n\t" "movq 1024(%1, %%esi), %%mm0 \n\t" @@ -313,7 +313,7 @@ int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" - "movq magicF2W, %%mm7 \n\t" + "movq "MANGLE(magicF2W)", %%mm7 \n\t" "pxor %%mm6, %%mm6 \n\t" "1: \n\t" "movq 1024(%1, %%esi), %%mm0 \n\t" @@ -352,7 +352,7 @@ int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" - "movq magicF2W, %%mm7 \n\t" + "movq "MANGLE(magicF2W)", %%mm7 \n\t" "pxor %%mm6, %%mm6 \n\t" "1: \n\t" "movq 1024(%1, %%esi), %%mm0 \n\t" @@ -393,7 +393,7 @@ int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" - "movq magicF2W, %%mm7 \n\t" + "movq "MANGLE(magicF2W)", %%mm7 \n\t" // "pxor %%mm6, %%mm6 \n\t" "1: \n\t" "movq 1024(%1, %%esi), %%mm0 \n\t" @@ -440,7 +440,7 @@ int32_t * f = (int32_t *) _f; asm volatile( "movl $-1024, %%esi \n\t" - "movq magicF2W, %%mm7 \n\t" + "movq "MANGLE(magicF2W)", %%mm7 \n\t" // "pxor %%mm6, %%mm6 \n\t" "1: \n\t" "movq 1024(%1, %%esi), %%mm0 \n\t"