Browse Source

Simplify vsad_intra16_mmx()

Originally committed as revision 13188 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 17 years ago
parent
commit
06bb35f94c
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      libavcodec/i386/dsputilenc_mmx.c

+ 2
- 3
libavcodec/i386/dsputilenc_mmx.c View File

@@ -646,12 +646,11 @@ static int vsad_intra16_mmx(void *v, uint8_t * pix, uint8_t * dummy, int line_si
"movq (%0),%%mm0\n"
"movq 8(%0),%%mm1\n"
"add %2,%0\n"
"subl $2, %%ecx\n"
SUM(%%mm0, %%mm1, %%mm4, %%mm5)
"jmp 2f\n"
"1:\n"

SUM(%%mm4, %%mm5, %%mm0, %%mm1)
"2:\n"
SUM(%%mm0, %%mm1, %%mm4, %%mm5)

"subl $2, %%ecx\n"


Loading…
Cancel
Save