[FFmpeg-cvslog] r14236 - trunk/libavcodec/i386/dsputil_mmx.c

lorenm subversion
Tue Jul 15 06:11:31 CEST 2008


Author: lorenm
Date: Tue Jul 15 06:11:30 2008
New Revision: 14236

Log:
10l, float_to_int16_interleave_sse/3dnow wrote the wrong samples


Modified:
   trunk/libavcodec/i386/dsputil_mmx.c

Modified: trunk/libavcodec/i386/dsputil_mmx.c
==============================================================================
--- trunk/libavcodec/i386/dsputil_mmx.c	(original)
+++ trunk/libavcodec/i386/dsputil_mmx.c	Tue Jul 15 06:11:30 2008
@@ -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"




More information about the ffmpeg-cvslog mailing list