Index: liba52/imdct.c =================================================================== RCS file: /cvsroot/mplayer/main/liba52/imdct.c,v retrieving revision 1.25 diff -u -r1.25 imdct.c --- liba52/imdct.c 26 Apr 2004 19:47:50 -0000 1.25 +++ liba52/imdct.c 2 May 2004 08:53:40 -0000 @@ -939,13 +939,13 @@ ".balign 16 \n\t" "1: \n\t" "xorl %%edi, %%edi \n\t" // k - "leal (%%esi, %3), %%edx \n\t" + "leal (%%esi, %2), %%edx \n\t" "2: \n\t" "movaps (%%edx, %%edi), %%xmm1 \n\t" - "movaps (%4, %%edi, 2), %%xmm2 \n\t" + "movaps (%3, %%edi, 2), %%xmm2 \n\t" "mulps %%xmm1, %%xmm2 \n\t" "shufps $0xB1, %%xmm1, %%xmm1 \n\t" - "mulps 16(%4, %%edi, 2), %%xmm1 \n\t" + "mulps 16(%3, %%edi, 2), %%xmm1 \n\t" "movaps (%%esi, %%edi), %%xmm0 \n\t" "addps %%xmm2, %%xmm1 \n\t" "movaps %%xmm1, %%xmm2 \n\t" @@ -954,12 +954,12 @@ "movaps %%xmm1, (%%esi, %%edi) \n\t" "movaps %%xmm0, (%%edx, %%edi) \n\t" "addl $16, %%edi \n\t" - "cmpl %3, %%edi \n\t" //FIXME (opt) count against 0 + "cmpl %2, %%edi \n\t" //FIXME (opt) count against 0 " jb 2b \n\t" - "addl %2, %%esi \n\t" + "leal (%%esi, %2, 2), %%esi \n\t" "cmpl %1, %%esi \n\t" " jb 1b \n\t" - :: "g" (buf), "m" (buf+128), "m" (two_m_plus_one<<3), "r" (two_m<<3), + :: "i" (buf), "i" (buf+128), "r" (two_m<<3), "r" (sseW[m]) : "%esi", "%edi", "%edx" );