On Sun, 18 Nov 2012, Justin Ruggles wrote:

> On 07/31/2012 06:17 PM, Diego Biurrun wrote:
> > ---
> >  libavutil/x86/x86util.asm |   10 +++++-----
> >  1 files changed, 5 insertions(+), 5 deletions(-)
> >
> > diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm
> > index b844131..db8899b 100644
> > --- a/libavutil/x86/x86util.asm
> > +++ b/libavutil/x86/x86util.asm
> > @@ -160,13 +160,13 @@
> >  %endif
> >  %endmacro
> >
> > -%macro PSIGNW_MMX 2
> > +%macro PSIGNW 2
> > +%if cpuflag(ssse3)
> > +    psignw     %1, %2
> > +%else
>
> %elif mmsize == 8 || cpuflag(sse2)
>
> >      pxor       %1, %2
> >      psubw      %1, %2
> > -%endmacro
> > -
> > -%macro PSIGNW_SSSE3 2
> > -    psignw     %1, %2
> > +%endif
>
> %else
> %error PSIGNW with XMM requires SSE2
> %endif

Do you have a use-case for this error message? None of our other macros
have one, because I assume that you just don't try to instantiate sse1
verions of functions that do integer simd.

--Loren Merritt
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to