[Ffmpeg-cvslog] r6887 - trunk/libavcodec/i386/h264dsp_mmx.c

michael subversion
Fri Nov 3 16:17:36 CET 2006


Author: michael
Date: Fri Nov  3 16:17:36 2006
New Revision: 6887

Modified:
   trunk/libavcodec/i386/h264dsp_mmx.c

Log:
comment about failed optimization


Modified: trunk/libavcodec/i386/h264dsp_mmx.c
==============================================================================
--- trunk/libavcodec/i386/h264dsp_mmx.c	(original)
+++ trunk/libavcodec/i386/h264dsp_mmx.c	Fri Nov  3 16:17:36 2006
@@ -402,7 +402,7 @@
         "pandn    %%mm7,  %%mm6    \n\t"
         "pcmpeqb  %%mm7,  %%mm6    \n\t"
         "pand     %%mm7,  %%mm6    \n\t" // mask & |p2-p0|<beta
-        "movq     8+%0,   %%mm4    \n\t"
+        "movq     8+%0,   %%mm4    \n\t" // can be merged with the and below but is slower then
         "pand     %%mm7,  %%mm4    \n\t" // mask & tc0
         "movq     %%mm4,  %%mm7    \n\t"
         "psubb    %%mm6,  %%mm7    \n\t"
@@ -415,7 +415,7 @@
         "pandn    %0,     %%mm6    \n\t"
         "pcmpeqb  %0,     %%mm6    \n\t"
         "pand     %0,     %%mm6    \n\t"
-        "movq     8+%0,   %%mm5    \n\t"
+        "movq     8+%0,   %%mm5    \n\t" // can be merged with the and below but is slower then
         "pand     %%mm6,  %%mm5    \n\t"
         "psubb    %%mm6,  %%mm7    \n\t"
         "movq    (%2,%3), %%mm3    \n\t"




More information about the ffmpeg-cvslog mailing list