On Mon, 25 Jun 2012, Justin Ruggles wrote:
> On 06/25/2012 04:26 AM, Loren Merritt wrote:
>
>> mix_n_to_1 avx/fma4: still have a load that could be a memory arg
>
> I'm sorry, but I don't see it.

Attached.

--Loren Merritt
diff --git a/libavresample/x86/audio_mix.asm b/libavresample/x86/audio_mix.asm
index 749ddc7..d54f4b2 100644
--- a/libavresample/x86/audio_mix.asm
+++ b/libavresample/x86/audio_mix.asm
@@ -425,11 +425,13 @@ cglobal mix_%1_to_%2_%3_flt, 
3,%1+2,needed_mmregs+matrix_elements_mm, src0, src1
     mova [src0q+lenq], m0
 %else
     ; mix with fltp input
-    mova           m0, [src0q+lenq]
     %if stereo
+    mova           m0, [src0q+lenq]
     mulps          m1, m0, mx_1_0
-    %endif
     mulps          m0, m0, mx_0_0
+    %else
+    mulps          m0, [src0q+lenq], mx_0_0
+    %endif
 %assign %%i 1
 %rep (in_channels - 1)
     %if copy_src_from_stack
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to