summaryrefslogtreecommitdiffstats
path: root/contrib/ffmpeg/A06-fmac-scalar-asm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ffmpeg/A06-fmac-scalar-asm.patch')
-rw-r--r--contrib/ffmpeg/A06-fmac-scalar-asm.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/ffmpeg/A06-fmac-scalar-asm.patch b/contrib/ffmpeg/A06-fmac-scalar-asm.patch
new file mode 100644
index 000000000..b0ca0f084
--- /dev/null
+++ b/contrib/ffmpeg/A06-fmac-scalar-asm.patch
@@ -0,0 +1,20 @@
+diff --git a/libavutil/x86/float_dsp.asm b/libavutil/x86/float_dsp.asm
+index c4e0c66..d379d8f 100644
+--- a/libavutil/x86/float_dsp.asm
++++ b/libavutil/x86/float_dsp.asm
+@@ -60,12 +60,12 @@ cglobal vector_fmac_scalar, 3,3,3, dst, src, len
+ %else
+ cglobal vector_fmac_scalar, 4,4,3, dst, src, mul, len
+ %endif
+-%if WIN64
+- SWAP 0, 2
+-%endif
+ %if ARCH_X86_32
+ VBROADCASTSS m0, mulm
+ %else
++%if WIN64
++ mova xmm0, xmm2
++%endif
+ shufps xmm0, xmm0, 0
+ %if cpuflag(avx)
+ vinsertf128 m0, m0, xmm0, 1