diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-05-17 14:31:10 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-05-17 14:31:10 +0000 |
commit | 06bb35f94cab9b762a573635ed8a71adef5f2924 (patch) | |
tree | 38a84449f8a69463474e02f037b282d5120e9176 /libavcodec | |
parent | 1472b7dd2824513894f779125c298f0ad991ad04 (diff) | |
download | ffmpeg-06bb35f94cab9b762a573635ed8a71adef5f2924.tar.gz |
Simplify vsad_intra16_mmx()
Originally committed as revision 13188 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/i386/dsputilenc_mmx.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/i386/dsputilenc_mmx.c b/libavcodec/i386/dsputilenc_mmx.c index 94e189cb6f..a14b39d1b4 100644 --- a/libavcodec/i386/dsputilenc_mmx.c +++ b/libavcodec/i386/dsputilenc_mmx.c @@ -646,12 +646,11 @@ static int vsad_intra16_mmx(void *v, uint8_t * pix, uint8_t * dummy, int line_si "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" |