On Fri, May 11, 2012 at 08:48:09AM -0700, Ronald S. Bultje wrote:
> On Fri, May 11, 2012 at 7:58 AM, Diego Biurrun <[email protected]> wrote:
> > --- a/libavcodec/x86/h264_intrapred.asm
> > +++ b/libavcodec/x86/h264_intrapred.asm
> > @@ -731,7 +731,7 @@ cglobal pred8x8_plane_%1, 2, 9, %2
> >
> >     mov          r4, 4
> > -ALIGN 16
> > +ALIGNB 16,nop
> >  .loop
> >  %if mmsize == 16
> >     mova         m3, m0           ; b[0..7]
> 
> Only for mmx. For anything above, using nopl is fine.

Like this?

%ifidn %1, mmx
ALIGNB 16,nop
%else
ALIGN 16
%endif

I'm really not sure this is more elegant, but whatever you asm
people say ...

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

Reply via email to