avresample/x86: Switch operand order for mulps
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>
Wed, 9 Oct 2013 12:41:36 +0000 (08:41 -0400)
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>
Mon, 14 Oct 2013 11:36:11 +0000 (12:36 +0100)
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>
libavresample/x86/audio_mix.asm

index 8a298e2..4710bb1 100644 (file)
@@ -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)