diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2001-11-10 20:39:23 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2001-11-10 20:39:23 +0000 |
commit | cff6ecd7e07f66e91aa61dd55932e0b4a44d1a3a (patch) | |
tree | 9b084f002a7814f8f88cac3c12700e80888bb803 /postproc/swscale_template.c | |
parent | 6e3bba728206686a005a9f83f6e4e1e2a6e3da72 (diff) | |
download | ffmpeg-cff6ecd7e07f66e91aa61dd55932e0b4a44d1a3a.tar.gz |
.balign or we´ll align by 64kb on some architectures
Originally committed as revision 2801 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/swscale_template.c')
-rw-r--r-- | postproc/swscale_template.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/postproc/swscale_template.c b/postproc/swscale_template.c index 103c47d612..56e53f8bf6 100644 --- a/postproc/swscale_template.c +++ b/postproc/swscale_template.c @@ -143,7 +143,7 @@ static int canMMX2BeUsed=0; "punpcklwd %%mm5, %%mm5 \n\t"\ "punpcklwd %%mm5, %%mm5 \n\t"\ "xorl %%eax, %%eax \n\t"\ - ".align 16 \n\t"\ + ".balign 16 \n\t"\ "1: \n\t"\ "movq (%0, %%eax, 2), %%mm0 \n\t" /*buf0[eax]*/\ "movq (%1, %%eax, 2), %%mm1 \n\t" /*buf1[eax]*/\ @@ -197,7 +197,7 @@ static int canMMX2BeUsed=0; "punpcklwd %%mm5, %%mm5 \n\t"\ "movq %%mm5, asm_uvalpha1 \n\t"\ "xorl %%eax, %%eax \n\t"\ - ".align 16 \n\t"\ + ".balign 16 \n\t"\ "1: \n\t"\ "movq (%2, %%eax), %%mm2 \n\t" /* uvbuf0[eax]*/\ "movq (%3, %%eax), %%mm3 \n\t" /* uvbuf1[eax]*/\ @@ -262,7 +262,7 @@ static int canMMX2BeUsed=0; #define YSCALEYUV2RGB1 \ "xorl %%eax, %%eax \n\t"\ - ".align 16 \n\t"\ + ".balign 16 \n\t"\ "1: \n\t"\ "movq (%2, %%eax), %%mm3 \n\t" /* uvbuf0[eax]*/\ "movq 4096(%2, %%eax), %%mm4 \n\t" /* uvbuf0[eax+2048]*/\ @@ -311,7 +311,7 @@ static int canMMX2BeUsed=0; // do vertical chrominance interpolation #define YSCALEYUV2RGB1b \ "xorl %%eax, %%eax \n\t"\ - ".align 16 \n\t"\ + ".balign 16 \n\t"\ "1: \n\t"\ "movq (%2, %%eax), %%mm2 \n\t" /* uvbuf0[eax]*/\ "movq (%3, %%eax), %%mm3 \n\t" /* uvbuf1[eax]*/\ @@ -1310,7 +1310,7 @@ FUNNY_Y_CODE "xorl %%eax, %%eax \n\t" // i "xorl %%ebx, %%ebx \n\t" // xx "xorl %%ecx, %%ecx \n\t" // 2*xalpha - ".align 16 \n\t" + ".balign 16 \n\t" "1: \n\t" "movzbl (%0, %%ebx), %%edi \n\t" //src[xx] "movzbl 1(%0, %%ebx), %%esi \n\t" //src[xx+1] @@ -1442,7 +1442,7 @@ FUNNYUVCODE "xorl %%eax, %%eax \n\t" // i "xorl %%ebx, %%ebx \n\t" // xx "xorl %%ecx, %%ecx \n\t" // 2*xalpha - ".align 16 \n\t" + ".balign 16 \n\t" "1: \n\t" "movl %0, %%esi \n\t" "movzbl (%%esi, %%ebx), %%edi \n\t" //src[xx] |