[FFmpeg-cvslog] x86/audiodsp: remove an unnecessary movss

James Almer git at videolan.org
Wed Mar 22 05:20:36 EET 2017


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Mar 22 00:14:56 2017 -0300| [aee046a895db972ce6ac49950dafbad99445191a] | committer: James Almer

x86/audiodsp: remove an unnecessary movss

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

 libavcodec/x86/audiodsp.asm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/x86/audiodsp.asm b/libavcodec/x86/audiodsp.asm
index 8ef2a8c..a44e064 100644
--- a/libavcodec/x86/audiodsp.asm
+++ b/libavcodec/x86/audiodsp.asm
@@ -140,7 +140,8 @@ cglobal vector_clipf, 3, 3, 6, dst, src, len, min, max
     VBROADCASTSS m0, minm
     VBROADCASTSS m1, maxm
 %elif WIN64
-    VBROADCASTSS m0, m3
+    SWAP 0, 3
+    VBROADCASTSS m0, m0
     VBROADCASTSS m1, maxm
 %else ; 64bit sysv
     VBROADCASTSS m0, m0



More information about the ffmpeg-cvslog mailing list