[Ffmpeg-devel] [PATH] test if cpu supports CMOV

Diego Biurrun diego
Tue Oct 17 11:29:51 CEST 2006

On Tue, Oct 17, 2006 at 11:22:18AM +0200, Guillaume Poirier wrote:
> Michael Niedermayer wrote:
> > On Mon, Oct 16, 2006 at 10:54:31PM +0200, Guillaume POIRIER wrote:
> >>Michael Niedermayer a ?crit :
> >>>this will break runtime cpudetect (yeah i know my crap code already
> >>>broke it but thats not supposed to stay that way in svn)
> >>>
> >>>solution:
> >>>1. clean configure so that
> >>>--cpu  selects the minimum cpu required (-mcpu/-march)
> >>>--tune selects the target cpu for which to tune but doent cause possibly
> >>>      unsupported instructions to be generated (-mtune)
> >>
> >>Ok, I had a look at current configure, and I'm quite surprised.
> >>From what I can see, currently, --cpu (which already exists) allows to 
> >>select an Architecture, _not_ a CPU.
> >>This means that the first step IMHO is to rename this missleading option 
> >>to --arch (as in attached patch).
> > 
> > patch ok
> Ok, I'll apply it today (maybe Diego has some other comments to make,
> so I'm delaying the commit a bit).

Commit anytime.


More information about the ffmpeg-devel mailing list