changeset 6823:4a05527f5856 libavcodec

Simplify vsad_intra16_mmx2()
author michael
date Sat, 17 May 2008 14:33:01 +0000
parents 5dc77fe205ac
children 9d4bc7d7a6dc
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 14:31:10 2008 +0000
+++ b/i386/dsputilenc_mmx.c	Sat May 17 14:33:01 2008 +0000
@@ -692,12 +692,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"