Mercurial > libavcodec.hg
changeset 6825:000f873d0220 libavcodec
Simplify vsad16_mmx().
author | michael |
---|---|
date | Sat, 17 May 2008 14:35:14 +0000 |
parents | 9d4bc7d7a6dc |
children | 8e0c8ff0c781 |
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:34:55 2008 +0000 +++ b/i386/dsputilenc_mmx.c Sat May 17 14:35:14 2008 +0000 @@ -760,16 +760,15 @@ "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"