Commit 73275259 authored by Justin Ruggles's avatar Justin Ruggles

x86: float_dsp: fix ff_vector_fmac_scalar_avx() on Win64

The SWAP macro does not work for explicit xmm/ymm usage, so instead just move
the scalar value from xmm2 to xmm0.
parent 1169f0d0
...@@ -60,12 +60,12 @@ cglobal vector_fmac_scalar, 3,3,3, dst, src, len ...@@ -60,12 +60,12 @@ cglobal vector_fmac_scalar, 3,3,3, dst, src, len
%else %else
cglobal vector_fmac_scalar, 4,4,3, dst, src, mul, len cglobal vector_fmac_scalar, 4,4,3, dst, src, mul, len
%endif %endif
%if WIN64
SWAP 0, 2
%endif
%if ARCH_X86_32 %if ARCH_X86_32
VBROADCASTSS m0, mulm VBROADCASTSS m0, mulm
%else %else
%if WIN64
mova xmm0, xmm2
%endif
shufps xmm0, xmm0, 0 shufps xmm0, xmm0, 0
%if cpuflag(avx) %if cpuflag(avx)
vinsertf128 m0, m0, xmm0, 1 vinsertf128 m0, m0, xmm0, 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment