Commit 9e0a9c92 authored by michaelni's avatar michaelni

dont trash mm0, its still used in the next iteration of the loop (fixes...

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)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@855 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 24c8e5d0
...@@ -214,10 +214,10 @@ static void DEF(avg, pixels_y2)(UINT8 *block, const UINT8 *pixels, int line_size ...@@ -214,10 +214,10 @@ static void DEF(avg, pixels_y2)(UINT8 *block, const UINT8 *pixels, int line_size
"movq (%1, %%eax), %%mm0 \n\t" "movq (%1, %%eax), %%mm0 \n\t"
PAVGBP(%%mm1, %%mm2, %%mm4, %%mm0, %%mm1, %%mm5) PAVGBP(%%mm1, %%mm2, %%mm4, %%mm0, %%mm1, %%mm5)
"movq (%2), %%mm3 \n\t" "movq (%2), %%mm3 \n\t"
PAVGB(%%mm3, %%mm4, %%mm0, %%mm6) PAVGB(%%mm3, %%mm4, %%mm2, %%mm6)
"movq (%2, %3), %%mm3 \n\t" "movq (%2, %3), %%mm3 \n\t"
PAVGB(%%mm3, %%mm5, %%mm1, %%mm6) PAVGB(%%mm3, %%mm5, %%mm1, %%mm6)
"movq %%mm0, (%2) \n\t" "movq %%mm2, (%2) \n\t"
"movq %%mm1, (%2, %3) \n\t" "movq %%mm1, (%2, %3) \n\t"
"addl %%eax, %1 \n\t" "addl %%eax, %1 \n\t"
"addl %%eax, %2 \n\t" "addl %%eax, %2 \n\t"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment