[Ffmpeg-devel] Re: [rfc] cleaning up dsputil*

Alan Curry pacman+mplayer
Fri Aug 4 03:54:51 CEST 2006


Luca Barbato writes:
> 
> you may hack your way building with -mno-altivec the scalar code, use
> the standard flags for the vector code, link everything and hope that
> you didn't forget something.

Apple has (had?) a gcc fork with a -mpim-altivec option, which does exactly
what's needed to allow runtime-cpudetection to work: only enables the use of
altivec via the C language extensions, not as a result of optimizer
cleverness.

> I'd rather keep 2 binaries.

That's the easy way.




More information about the ffmpeg-devel mailing list