10l, float_to_int16_interleave_sse/3dnow wrote the wrong samples

Originally committed as revision 14236 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Loren Merritt 2008-07-15 04:11:30 +00:00
parent 154dffd04c
commit 4342a7f30b

View File

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