aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-10-09 08:41:36 -0400
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-10-14 12:36:11 +0100
commit15748773bf33c110e6e2e9526c7ba5478274c74c (patch)
treec00e473d8be116de5d17125e3866ee7a04fd5cd3
parent84a125c4c28f3e3e215d2e6c32f7f0ec43bbc04c (diff)
downloadffmpeg-15748773bf33c110e6e2e9526c7ba5478274c74c.tar.gz
avresample/x86: Switch operand order for mulps
With the forthcoming VEX instruction emulation, mulps must have only the third operand point to memory, as this is what vmulps expects. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-rw-r--r--libavresample/x86/audio_mix.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavresample/x86/audio_mix.asm b/libavresample/x86/audio_mix.asm
index 8a298e2081..4710bb1f6e 100644
--- a/libavresample/x86/audio_mix.asm
+++ b/libavresample/x86/audio_mix.asm
@@ -422,7 +422,7 @@ cglobal mix_%1_to_%2_%3_flt, 3,in_channels+2,needed_mmregs+matrix_elements_mm, n
%if stereo || mx_stack_0_0
mulps m0, m0, mx_0_0
%else
- mulps m0, [src0q+lenq], mx_0_0
+ mulps m0, mx_0_0, [src0q+lenq]
%endif
%assign %%i 1
%rep (in_channels - 1)