diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-01-07 13:00:38 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-01-07 13:00:38 +0000 |
commit | 5a508a98e918f647278ff9458d6d815f944eebde (patch) | |
tree | 2542d7a802f1bd085cdba339ee47661faa5921a4 /libavcodec/i386/dsputil_mmx.c | |
parent | 0b093b6fefb8712a57ae0b2dfdf2262cefbbba0e (diff) | |
download | ffmpeg-streaming-5a508a98e918f647278ff9458d6d815f944eebde.zip ffmpeg-streaming-5a508a98e918f647278ff9458d6d815f944eebde.tar.gz |
PIC / ebx fix
Originally committed as revision 1408 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/dsputil_mmx.c')
-rw-r--r-- | libavcodec/i386/dsputil_mmx.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c index 464713e..5fce7f9 100644 --- a/libavcodec/i386/dsputil_mmx.c +++ b/libavcodec/i386/dsputil_mmx.c @@ -790,7 +790,7 @@ void OPNAME ## mpeg4_qpel16_h_lowpass_mmx2(uint8_t *dst, uint8_t *src, int dstSt "addl %4, %1 \n\t"\ "decl %2 \n\t"\ " jnz 1b \n\t"\ - : "+a"(src), "+b"(dst), "+c"(h)\ + : "+a"(src), "+c"(dst), "+m"(h)\ : "d"(srcStride), "S"(dstStride), /*"m"(ff_pw_20), "m"(ff_pw_3),*/ "m"(temp), "m"(ROUNDER)\ : "memory"\ );\ @@ -903,7 +903,7 @@ void OPNAME ## mpeg4_qpel8_h_lowpass_mmx2(uint8_t *dst, uint8_t *src, int dstStr "addl %4, %1 \n\t"\ "decl %2 \n\t"\ " jnz 1b \n\t"\ - : "+a"(src), "+b"(dst), "+c"(h)\ + : "+a"(src), "+c"(dst), "+m"(h)\ : "S"(srcStride), "D"(dstStride), /*"m"(ff_pw_20), "m"(ff_pw_3),*/ "m"(temp), "m"(ROUNDER)\ : "memory"\ );\ @@ -961,14 +961,14 @@ static void OPNAME ## mpeg4_qpel16_v_lowpass_ ## MMX(uint8_t *dst, uint8_t *src, "punpckhbw %%mm7, %%mm3 \n\t"\ "movq %%mm0, (%1) \n\t"\ "movq %%mm1, 17*8(%1) \n\t"\ - "movq %%mm2, (%1, %4) \n\t"\ - "movq %%mm3, (%1, %5) \n\t"\ + "movq %%mm2, 2*17*8(%1) \n\t"\ + "movq %%mm3, 3*17*8(%1) \n\t"\ "addl $8, %1 \n\t"\ "addl %3, %0 \n\t"\ "decl %2 \n\t"\ " jnz 1b \n\t"\ : "+r" (src), "+r" (temp_ptr), "+r"(count)\ - : "r" (srcStride), "r"(2*8*17), "r"(3*8*17)\ + : "r" (srcStride)\ : "memory"\ );\ \ @@ -1014,7 +1014,7 @@ static void OPNAME ## mpeg4_qpel16_v_lowpass_ ## MMX(uint8_t *dst, uint8_t *src, "decl %2 \n\t"\ " jnz 1b \n\t"\ \ - : "+r"(temp_ptr), "+r"(dst), "+r"(count)\ + : "+r"(temp_ptr), "+r"(dst), "+g"(count)\ : "r"(dstStride), "r"(2*dstStride), /*"m"(ff_pw_20), "m"(ff_pw_3),*/ "m"(ROUNDER), "g"(4-14*dstStride)\ :"memory"\ );\ |