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

Guillaume POIRIER poirierg
Tue Oct 17 13:26:14 CEST 2006


Hi,

On 10/17/06, Diego Biurrun <diego at biurrun.de> wrote:
> 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.

Applied

Guillaume
-- 
With DADVSI (http://en.wikipedia.org/wiki/DADVSI), France finally has
a lead on USA on selling out individuals right to corporations!
Vive la France!




More information about the ffmpeg-devel mailing list