# HG changeset patch # User michael # Date 1211035004 0 # Node ID 51c80db5905c16264b1f519a5f4127adffb1757b # Parent 8e0c8ff0c781cc015579d45ce83fcd02f8dfa8ac Simplify vsad16_mmx2(). diff -r 8e0c8ff0c781 -r 51c80db5905c i386/dsputilenc_mmx.c --- a/i386/dsputilenc_mmx.c Sat May 17 14:35:45 2008 +0000 +++ b/i386/dsputilenc_mmx.c Sat May 17 14:36:44 2008 +0000 @@ -823,16 +823,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"