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
cglobal vector_fmac_scalar, 4,4,3, dst, src, mul, len
%if WIN64
SWAP 0, 2
%if ARCH_X86_32
%if WIN64
mova xmm0, xmm2
shufps xmm0, xmm0, 0
%if cpuflag(avx)
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