On Wed, 1 Aug 2012, Diego Biurrun wrote: > diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm > index 6911a9c..f358257 100644 > --- a/libavutil/x86/x86util.asm > +++ b/libavutil/x86/x86util.asm > @@ -306,6 +306,23 @@ > %endif > %endmacro > > +%macro PSWAPD 2 > +%if cpuflag(sse) > + pshufw %1, %2, 0x4e
That's mmx2. The macro was called sse because it was in a float function which thus didn't have a mmx2 version. > +%elif cpuflag(3dnowext) > + pswapd %1, %2 > +%else > +%ifidn %1, %2 > + movd [r0+12], %1 > + punpckhdq %1, [r0+8] > +%else > + movq %1, %2 > + psrlq %1, 32 > + punpckldq %1, %2 > +%endif > +%endif > +%endmacro --Loren Merritt _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
