changeset 6822:5dc77fe205ac libavcodec

Simplify vsad_intra16_mmx()
author michael
date Sat, 17 May 2008 14:31:10 +0000
parents 1b9c458d6d60
children 4a05527f5856
files i386/dsputilenc_mmx.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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"