aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-02-23 15:44:56 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-02-23 15:44:56 +0000
commit58e31fb1d5eb836aa51c3c0df5fb5d2f6141515b (patch)
treeb39aa033ccc9e630f7fcbfe467bd8107951c6578 /libavcodec
parentb4fe97696c6024666facd6b017554005b4bc1b47 (diff)
downloadffmpeg-58e31fb1d5eb836aa51c3c0df5fb5d2f6141515b.tar.gz
reorder a few more paddws to reduce dependancy chains
chroma mc4 put 2480 -> 2460 dezicyles on duron Originally committed as revision 8098 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/i386/dsputil_h264_template_mmx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/i386/dsputil_h264_template_mmx.c b/libavcodec/i386/dsputil_h264_template_mmx.c
index 51d7061dfe..a943a03715 100644
--- a/libavcodec/i386/dsputil_h264_template_mmx.c
+++ b/libavcodec/i386/dsputil_h264_template_mmx.c
@@ -218,8 +218,8 @@ static void H264_CHROMA_MC4_TMPL(uint8_t *dst/*align 4*/, uint8_t *src/*align 1*
"movq %%mm1, %%mm0 \n\t"
"pmullw %%mm5, %%mm6 \n\t"
"pmullw %%mm3, %%mm1 \n\t"
+ "paddw %4, %%mm6 \n\t"
"paddw %%mm6, %%mm1 \n\t"
- "paddw %4, %%mm1 \n\t"
"psrlw $6, %%mm1 \n\t"
"packuswb %%mm1, %%mm1 \n\t"
H264_CHROMA_OP4((%0), %%mm1, %%mm6)
@@ -236,8 +236,8 @@ static void H264_CHROMA_MC4_TMPL(uint8_t *dst/*align 4*/, uint8_t *src/*align 1*
"movq %%mm1, %%mm6 \n\t"
"pmullw %%mm5, %%mm0 \n\t"
"pmullw %%mm3, %%mm1 \n\t"
+ "paddw %4, %%mm0 \n\t"
"paddw %%mm0, %%mm1 \n\t"
- "paddw %4, %%mm1 \n\t"
"psrlw $6, %%mm1 \n\t"
"packuswb %%mm1, %%mm1 \n\t"
H264_CHROMA_OP4((%0), %%mm1, %%mm0)