[x264-devel] Re: [Patch] x264 on ppc without altivec

Alexis Ballier aballier at gentoo.org
Thu Mar 15 00:13:47 CET 2007


On Wed, 14 Mar 2007 19:12:29 +0100
Sam Hocevar <sam at zoy.org> wrote:

> On Mon, Mar 05, 2007, Alexis Ballier wrote:
>
> > But then, I don't understand why the code works in a simple program and
> > not in x264.
> >
> > by the way :
> > $gcc -maltivec -mabi=altivec toto.c
> > $./a.out
> > 0
> > $
>
>    It's because your toto.c does not cause gcc to generate AltiVec code,
> but it may happen (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408918).


Definitely a good thing to know.


>    I added proper runtime AltiVec detection, as well as a fix for the
> makefile so that only ppc/*.c files get compiled with the AltiVec flags,
> can you give the current trunk a try?


I tried trunk (r634) and this works perfectly fine, thanks !


Alexis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/x264-devel/attachments/20070315/88782930/attachment.pgp 


More information about the x264-devel mailing list