From 15748773bf33c110e6e2e9526c7ba5478274c74c Mon Sep 17 00:00:00 2001 From: Derek Buitenhuis Date: Wed, 9 Oct 2013 08:41:36 -0400 Subject: 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 --- libavresample/x86/audio_mix.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavresample/x86') 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) -- cgit v1.2.3