On 07/31/2012 06:17 PM, Diego Biurrun wrote: > -%macro BUTTERFLY_SSE 4 > +%macro BUTTERFLY 4 > +%if cpuflag(avx) > + vsubps %4, %1, %2 > + vaddps %2, %2, %1 > + vmulps %1, %4, %3 > +%elif cpuflag(sse) > movaps %4, %1 > subps %1, %2 > addps %2, %4 > mulps %1, %3 > +%endif > %endmacro
The avx/sse abstraction in x86inc.asm can do all that in 1 version without the if/else. -Justin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
