From 3b808900af61c09dd47ce690bc9a60515fb8dba9 Mon Sep 17 00:00:00 2001 From: James Almer Date: Wed, 16 Apr 2014 02:09:35 -0300 Subject: [PATCH] x86/float_dsp: use SWAP in vector_fmac_scalar Win64 The mova is unnecessary Signed-off-by: James Almer Signed-off-by: Michael Niedermayer --- 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 d0f4be8c53..01ac60eb0a 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]