Commit 19a20f2c authored by michael's avatar michael

Simplify vsad16_mmx2().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13193 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d5272dc6
...@@ -823,16 +823,15 @@ static int vsad16_mmx2(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, i ...@@ -823,16 +823,15 @@ static int vsad16_mmx2(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, i
"movq 8(%1),%%mm3\n" "movq 8(%1),%%mm3\n"
"add %3,%0\n" "add %3,%0\n"
"add %3,%1\n" "add %3,%1\n"
"subl $2, %%ecx\n"
"psubb %%mm2, %%mm0\n" "psubb %%mm2, %%mm0\n"
"psubb %%mm3, %%mm1\n" "psubb %%mm3, %%mm1\n"
"pxor %%mm7, %%mm0\n" "pxor %%mm7, %%mm0\n"
"pxor %%mm7, %%mm1\n" "pxor %%mm7, %%mm1\n"
SUM(%%mm0, %%mm1, %%mm4, %%mm5) "jmp 2f\n"
"1:\n" "1:\n"
SUM(%%mm4, %%mm5, %%mm0, %%mm1) SUM(%%mm4, %%mm5, %%mm0, %%mm1)
"2:\n"
SUM(%%mm0, %%mm1, %%mm4, %%mm5) SUM(%%mm0, %%mm1, %%mm4, %%mm5)
"subl $2, %%ecx\n" "subl $2, %%ecx\n"
......
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