[FFmpeg-devel] [PATCH 1/3] x86/float_dsp: use SWAP in vector_fmac_scalar Win64
James Almer
jamrial at gmail.com
Wed Apr 16 07:09:35 CEST 2014
The mova is unnecessary
Signed-off-by: James Almer <jamrial at gmail.com>
---
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]
--
1.8.3.2
More information about the ffmpeg-devel
mailing list