# HG changeset patch # User michael # Date 1211034914 0 # Node ID 000f873d022049fa2912fd6463e827ece2ce2cc9 # Parent 9d4bc7d7a6dcef93856b3acad505b2e1fab3d286 Simplify vsad16_mmx(). diff -r 9d4bc7d7a6dc -r 000f873d0220 i386/dsputilenc_mmx.c --- a/i386/dsputilenc_mmx.c Sat May 17 14:34:55 2008 +0000 +++ b/i386/dsputilenc_mmx.c Sat May 17 14:35:14 2008 +0000 @@ -760,16 +760,15 @@ "movq 8(%1),%%mm3\n" "add %3,%0\n" "add %3,%1\n" - "subl $2, %%ecx\n" "psubb %%mm2, %%mm0\n" "psubb %%mm3, %%mm1\n" "pxor %%mm7, %%mm0\n" "pxor %%mm7, %%mm1\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"