Re: [libav-devel] [PATCH 3/4] x86: ac3dsp: replace inline asm for in-decoder downmixing with yasm asm

2013-03-18 Thread Justin Ruggles
On 03/18/2013 10:49 AM, Diego Biurrun wrote: >> +%macro AC3_DOWNMIX_FUNCS 0 >> > +%assign %%i 3 >> > +%rep 4 >> > +INIT_XMM sse >> > +AC3_DOWNMIX %%i, 1 >> > +AC3_DOWNMIX %%i, 2 >> > +; Do not use ymm AVX or FMA4 on x86-32 for 6 channels due to stack >> > alignment >> > +; issu

Re: [libav-devel] [PATCH 3/4] x86: ac3dsp: replace inline asm for in-decoder downmixing with yasm asm

2013-03-18 Thread Diego Biurrun
On Sat, Nov 17, 2012 at 10:33:27AM -0500, Justin Ruggles wrote: > Adds a wrapper function for downmixing which detects channel count changes > and updates the selected downmix function accordingly. > --- > libavcodec/ac3dec.c |8 +- > libavcodec/ac3dsp.c | 72

Re: [libav-devel] [PATCH 3/4] x86: ac3dsp: replace inline asm for in-decoder downmixing with yasm asm

2013-03-16 Thread Diego Biurrun
On Thu, Dec 20, 2012 at 07:33:52PM +0100, Diego Biurrun wrote: > On Sat, Nov 17, 2012 at 10:33:27AM -0500, Justin Ruggles wrote: > > Adds a wrapper function for downmixing which detects channel count changes > > and updates the selected downmix function accordingly. > > --- > > libavcodec/ac3dec.c

Re: [libav-devel] [PATCH 3/4] x86: ac3dsp: replace inline asm for in-decoder downmixing with yasm asm

2012-12-20 Thread Diego Biurrun
On Sat, Nov 17, 2012 at 10:33:27AM -0500, Justin Ruggles wrote: > Adds a wrapper function for downmixing which detects channel count changes > and updates the selected downmix function accordingly. > --- > libavcodec/ac3dec.c |8 +- > libavcodec/ac3dsp.c | 72

Re: [libav-devel] [PATCH 3/4] x86: ac3dsp: replace inline asm for in-decoder downmixing with yasm asm

2012-12-09 Thread Måns Rullgård
Diego Biurrun writes: > On Sat, Nov 17, 2012 at 10:33:27AM -0500, Justin Ruggles wrote: >> >> --- a/libavcodec/ac3dsp.c >> +++ b/libavcodec/ac3dsp.c >> @@ -24,6 +24,10 @@ >> #include "ac3.h" >> #include "ac3dsp.h" >> >> +#if ARCH_X86 >> +#include "x86/ac3dsp.h" >> +#endif >> + >> --- /dev/nu

Re: [libav-devel] [PATCH 3/4] x86: ac3dsp: replace inline asm for in-decoder downmixing with yasm asm

2012-11-17 Thread Diego Biurrun
On Sat, Nov 17, 2012 at 10:33:27AM -0500, Justin Ruggles wrote: > > --- a/libavcodec/ac3dsp.c > +++ b/libavcodec/ac3dsp.c > @@ -24,6 +24,10 @@ > #include "ac3.h" > #include "ac3dsp.h" > > +#if ARCH_X86 > +#include "x86/ac3dsp.h" > +#endif > + > --- /dev/null > +++ b/libavcodec/x86/ac3dsp.h > @

[libav-devel] [PATCH 3/4] x86: ac3dsp: replace inline asm for in-decoder downmixing with yasm asm

2012-11-17 Thread Justin Ruggles
Adds a wrapper function for downmixing which detects channel count changes and updates the selected downmix function accordingly. --- libavcodec/ac3dec.c |8 +- libavcodec/ac3dsp.c | 72 +--- libavcodec/ac3dsp.h |8 +- libavcodec/x86/Make