[FFmpeg-cvslog] r13193 - trunk/libavcodec/i386/dsputilenc_mmx.c
michael
subversion
Sat May 17 16:36:44 CEST 2008
Author: michael
Date: Sat May 17 16:36:44 2008
New Revision: 13193
Log:
Simplify vsad16_mmx2().
Modified:
trunk/libavcodec/i386/dsputilenc_mmx.c
Modified: trunk/libavcodec/i386/dsputilenc_mmx.c
==============================================================================
--- trunk/libavcodec/i386/dsputilenc_mmx.c (original)
+++ trunk/libavcodec/i386/dsputilenc_mmx.c Sat May 17 16:36:44 2008
@@ -823,16 +823,15 @@ static int vsad16_mmx2(void *v, uint8_t
"movq 8(%1),%%mm3\n"
"add %3,%0\n"
"add %3,%1\n"
- "subl $2, %%ecx\n"
"psubb %%mm2, %%mm0\n"
"psubb %%mm3, %%mm1\n"
"pxor %%mm7, %%mm0\n"
"pxor %%mm7, %%mm1\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"
More information about the ffmpeg-cvslog
mailing list