changeset 4134:3d2887b288f4 libavcodec

comment about failed optimization
author michael
date Fri, 03 Nov 2006 15:17:36 +0000
parents 560ea2d5524e
children bbf0caa655f0
files i386/h264dsp_mmx.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/i386/h264dsp_mmx.c	Fri Nov 03 14:28:30 2006 +0000
+++ b/i386/h264dsp_mmx.c	Fri Nov 03 15:17:36 2006 +0000
@@ -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"