From e13810223aaab03fb0c478539326a823981fe34f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 17 May 2008 14:33:01 +0000 Subject: Simplify vsad_intra16_mmx2() Originally committed as revision 13189 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/i386/dsputilenc_mmx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavcodec/i386/dsputilenc_mmx.c b/libavcodec/i386/dsputilenc_mmx.c index a14b39d1b4..470c311930 100644 --- a/libavcodec/i386/dsputilenc_mmx.c +++ b/libavcodec/i386/dsputilenc_mmx.c @@ -692,12 +692,11 @@ static int vsad_intra16_mmx2(void *v, uint8_t * pix, uint8_t * dummy, int line_s "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" -- cgit v1.2.3