diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-02-23 15:28:35 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-02-23 15:28:35 +0000 |
commit | b4fe97696c6024666facd6b017554005b4bc1b47 (patch) | |
tree | 72580ba94a919f39fa56835303bcf891a6aa4752 | |
parent | 9ff77d1797453c5ef0dafb0f3ba1b81862693dea (diff) | |
download | ffmpeg-b4fe97696c6024666facd6b017554005b4bc1b47.tar.gz |
reorder paddws to reduce dependancy chain
put_h264_chroma_mc2_mmx2() 927 -> 902 dezicyles on duron
Originally committed as revision 8097 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/i386/dsputil_h264_template_mmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/i386/dsputil_h264_template_mmx.c b/libavcodec/i386/dsputil_h264_template_mmx.c index a8bb7f0819..51d7061dfe 100644 --- a/libavcodec/i386/dsputil_h264_template_mmx.c +++ b/libavcodec/i386/dsputil_h264_template_mmx.c @@ -284,9 +284,9 @@ static void H264_CHROMA_MC2_TMPL(uint8_t *dst/*align 2*/, uint8_t *src/*align 1* /* mm1 += C * src[0,1] + D * src[1,2] */ "movq %%mm0, %%mm2\n\t" "pmaddwd %%mm6, %%mm0\n\t" + "paddw %3, %%mm1\n\t" "paddw %%mm0, %%mm1\n\t" /* dst[0,1] = pack((mm1 + 32) >> 6) */ - "paddw %3, %%mm1\n\t" "psrlw $6, %%mm1\n\t" "packssdw %%mm7, %%mm1\n\t" "packuswb %%mm7, %%mm1\n\t" |