10l, float_to_int16_interleave_sse/3dnow wrote the wrong samples

Originally committed as revision 14236 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Loren Merritt 17 years ago
parent 154dffd04c
commit 4342a7f30b
  1. 4
      libavcodec/i386/dsputil_mmx.c

@ -2198,7 +2198,7 @@ FLOAT_TO_INT16_INTERLEAVE(3dnow,
"punpcklwd %%mm2, %%mm0 \n" "punpcklwd %%mm2, %%mm0 \n"
"punpckhwd %%mm2, %%mm1 \n" "punpckhwd %%mm2, %%mm1 \n"
"movq %%mm0, (%1,%0)\n" "movq %%mm0, (%1,%0)\n"
"movq %%mm0, 8(%1,%0)\n" "movq %%mm1, 8(%1,%0)\n"
"add $16, %0 \n" "add $16, %0 \n"
"js 1b \n" "js 1b \n"
"femms \n" "femms \n"
@ -2216,7 +2216,7 @@ FLOAT_TO_INT16_INTERLEAVE(sse,
"punpcklwd %%mm2, %%mm0 \n" "punpcklwd %%mm2, %%mm0 \n"
"punpckhwd %%mm2, %%mm1 \n" "punpckhwd %%mm2, %%mm1 \n"
"movq %%mm0, (%1,%0)\n" "movq %%mm0, (%1,%0)\n"
"movq %%mm0, 8(%1,%0)\n" "movq %%mm1, 8(%1,%0)\n"
"add $16, %0 \n" "add $16, %0 \n"
"js 1b \n" "js 1b \n"
"emms \n" "emms \n"

Loading…
Cancel
Save