[Ffmpeg-cvslog] r8097 - trunk/libavcodec/i386/dsputil_h264_template_mmx.c

michael subversion
Fri Feb 23 16:28:36 CET 2007


Author: michael
Date: Fri Feb 23 16:28:35 2007
New Revision: 8097

Modified:
   trunk/libavcodec/i386/dsputil_h264_template_mmx.c

Log:
reorder paddws to reduce dependancy chain


Modified: trunk/libavcodec/i386/dsputil_h264_template_mmx.c
==============================================================================
--- trunk/libavcodec/i386/dsputil_h264_template_mmx.c	(original)
+++ trunk/libavcodec/i386/dsputil_h264_template_mmx.c	Fri Feb 23 16:28:35 2007
@@ -284,9 +284,9 @@
         /* mm1 += C * src[0,1] + D * src[1,2] */
         "movq    %%mm0, %%mm2\n\t"
         "pmaddwd %%mm6, %%mm0\n\t"
+        "paddw      %3, %%mm1\n\t"
         "paddw   %%mm0, %%mm1\n\t"
         /* dst[0,1] = pack((mm1 + 32) >> 6) */
-        "paddw %3, %%mm1\n\t"
         "psrlw $6, %%mm1\n\t"
         "packssdw %%mm7, %%mm1\n\t"
         "packuswb %%mm7, %%mm1\n\t"




More information about the ffmpeg-cvslog mailing list