# HG changeset patch # User michael # Date 1211034670 0 # Node ID 5dc77fe205ac5e246903bf4abb3c59e9ccc31069 # Parent 1b9c458d6d603cbb70c6590fcb1625cc9da6f92c Simplify vsad_intra16_mmx() diff -r 1b9c458d6d60 -r 5dc77fe205ac i386/dsputilenc_mmx.c --- a/i386/dsputilenc_mmx.c Sat May 17 11:42:03 2008 +0000 +++ b/i386/dsputilenc_mmx.c Sat May 17 14:31:10 2008 +0000 @@ -646,12 +646,11 @@ "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"