Mercurial > libavcodec.hg
changeset 606:72d9661683f2 libavcodec
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)
author | michaelni |
---|---|
date | Tue, 20 Aug 2002 19:23:06 +0000 |
parents | 40874804a5af |
children | 5762b2d659d2 |
files | i386/dsputil_mmx_rnd.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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"