[FFmpeg-cvslog] x86/float_dsp: use SWAP in vector_fmac_scalar Win64

James Almer git at videolan.org
Wed Apr 16 15:53:49 CEST 2014


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Apr 16 02:09:35 2014 -0300| [3b808900af61c09dd47ce690bc9a60515fb8dba9] | committer: Michael Niedermayer

x86/float_dsp: use SWAP in vector_fmac_scalar Win64

The mova is unnecessary

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=3b808900af61c09dd47ce690bc9a60515fb8dba9
---

 libavutil/x86/float_dsp.asm |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavutil/x86/float_dsp.asm b/libavutil/x86/float_dsp.asm
index d0f4be8..01ac60e 100644
--- a/libavutil/x86/float_dsp.asm
+++ b/libavutil/x86/float_dsp.asm
@@ -69,11 +69,11 @@ cglobal vector_fmac_scalar, 4,4,3, dst, src, mul, len
     VBROADCASTSS m0, mulm
 %else
 %if WIN64
-    mova       xmm0, xmm2
+    SWAP 0, 2
 %endif
-    shufps     xmm0, xmm0, 0
+    shufps      xm0, xm0, 0
 %if cpuflag(avx)
-    vinsertf128  m0, m0, xmm0, 1
+    vinsertf128  m0, m0, xm0, 1
 %endif
 %endif
     lea    lenq, [lend*4-64]



More information about the ffmpeg-cvslog mailing list