[FFmpeg-cvslog] x86/ttadsp: remove an unnecessary mova

James Almer git at videolan.org
Tue Aug 12 12:37:58 CEST 2014


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Aug  3 23:53:39 2014 -0300| [e20ff251a688b24f7a1590a1af4456e67b1bc64f] | committer: Michael Niedermayer

x86/ttadsp: remove an unnecessary mova

Signed-off-by: James Almer <jamrial at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e20ff251a688b24f7a1590a1af4456e67b1bc64f
---

 libavcodec/x86/ttadsp.asm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/ttadsp.asm b/libavcodec/x86/ttadsp.asm
index 8346cab..8f48949 100644
--- a/libavcodec/x86/ttadsp.asm
+++ b/libavcodec/x86/ttadsp.asm
@@ -72,7 +72,7 @@ cglobal ttafilter_process_dec, 5,5,%2, qm, dx, dl, error, in, shift, round
     ; Using horizontal add (phaddd) seems to be slower than shuffling stuff around
     paddd      m2, m3               ; int sum = filter->round +
                                     ;           filter->dl[0] * filter->qm[0] +
-    punpckhqdq m3, m2, m2           ;           filter->dl[1] * filter->qm[1] +
+    pshufd     m3, m2, 0xe          ;           filter->dl[1] * filter->qm[1] +
     paddd      m2, m3               ;           filter->dl[2] * filter->qm[2] +
                                     ;           filter->dl[3] * filter->qm[3] +
     movd       m6, roundm           ;           filter->dl[4] * filter->qm[4] +



More information about the ffmpeg-cvslog mailing list