# HG changeset patch # User michaelni # Date 1029871386 0 # Node ID 72d9661683f25eba5de17018e880aa97d8a08134 # Parent 40874804a5afd15ccdd3348c0129125a23c89c7c dont trash mm0, its still used in the next iteration of the loop (fixes strange horizontal lines on some blocks in b frames on mmx only cpus) diff -r 40874804a5af -r 72d9661683f2 i386/dsputil_mmx_rnd.h --- a/i386/dsputil_mmx_rnd.h Sun Aug 18 00:42:58 2002 +0000 +++ b/i386/dsputil_mmx_rnd.h Tue Aug 20 19:23:06 2002 +0000 @@ -214,10 +214,10 @@ "movq (%1, %%eax), %%mm0 \n\t" PAVGBP(%%mm1, %%mm2, %%mm4, %%mm0, %%mm1, %%mm5) "movq (%2), %%mm3 \n\t" - PAVGB(%%mm3, %%mm4, %%mm0, %%mm6) + PAVGB(%%mm3, %%mm4, %%mm2, %%mm6) "movq (%2, %3), %%mm3 \n\t" PAVGB(%%mm3, %%mm5, %%mm1, %%mm6) - "movq %%mm0, (%2) \n\t" + "movq %%mm2, (%2) \n\t" "movq %%mm1, (%2, %3) \n\t" "addl %%eax, %1 \n\t" "addl %%eax, %2 \n\t"