Mercurial > libavcodec.hg
changeset 4584:3e155276af4a libavcodec
reorder paddws to reduce dependancy chain
put_h264_chroma_mc2_mmx2() 927 -> 902 dezicyles on duron
author | michael |
---|---|
date | Fri, 23 Feb 2007 15:28:35 +0000 |
parents | dae72d303a8d |
children | 869c9a1a5006 |
files | i386/dsputil_h264_template_mmx.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/i386/dsputil_h264_template_mmx.c Fri Feb 23 15:19:29 2007 +0000 +++ b/i386/dsputil_h264_template_mmx.c Fri Feb 23 15:28:35 2007 +0000 @@ -284,9 +284,9 @@ /* 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"