aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-05-17 14:33:01 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-05-17 14:33:01 +0000
commite13810223aaab03fb0c478539326a823981fe34f (patch)
tree8591b68386d390a5f701d1e487c63b5fc043c687 /libavcodec
parent06bb35f94cab9b762a573635ed8a71adef5f2924 (diff)
downloadffmpeg-e13810223aaab03fb0c478539326a823981fe34f.tar.gz
Simplify vsad_intra16_mmx2()
Originally committed as revision 13189 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/i386/dsputilenc_mmx.c5
1 files 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"