OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06bb35f
)
Simplify vsad_intra16_mmx2()
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 17 May 2008 14:33:01 +0000
(14:33 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 17 May 2008 14:33:01 +0000
(14:33 +0000)
Originally committed as revision 13189 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/i386/dsputilenc_mmx.c
patch
|
blob
|
history
diff --git
a/libavcodec/i386/dsputilenc_mmx.c
b/libavcodec/i386/dsputilenc_mmx.c
index
a14b39d
..
470c311
100644
(file)
--- 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"