[Ffmpeg-devel] [PATH] test if cpu supports CMOV
Guillaume Poirier
gpoirier
Tue Oct 17 11:22:18 CEST 2006
Hi,
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).
>>BTW, do we agree that we aren't looking for automatic CPU detection as
>>things are done in MPlayer's configure?
>
>
> the cpu detection should be split out of mplayers configure so it can
> be easily used by other projects, i dunno if anyone is working on that...
I'm not, but I might once I'm done with the --tune/--arch/--cpu issue
(just don't hold your breath)
Guillaume
More information about the ffmpeg-devel
mailing list