[FFmpeg-cvslog] avresample/x86: Switch operand order for mulps

Derek Buitenhuis git at videolan.org
Mon Oct 14 15:48:09 CEST 2013


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Wed Oct  9 08:41:36 2013 -0400| [15748773bf33c110e6e2e9526c7ba5478274c74c] | committer: Derek Buitenhuis

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 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=15748773bf33c110e6e2e9526c7ba5478274c74c
---

 libavresample/x86/audio_mix.asm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavresample/x86/audio_mix.asm b/libavresample/x86/audio_mix.asm
index 8a298e2..4710bb1 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)



More information about the ffmpeg-cvslog mailing list