[MPlayer-dev-eng] Do we need to check for CPU types with --enable-runtime-cpudetection?

Diego Biurrun diego at biurrun.de
Mon Dec 4 10:08:09 CET 2006


On Sun, Dec 03, 2006 at 02:04:56PM +0800, Zuxy Meng wrote:
> 
> One more question: for ppc if a user provide both
> --enable-runtime-cpudetect and --disable-altivec, runtime cpu
> detection is disabled. But for x86, a user can at the same time enable
> runtime cpu detection and disable e.g. mmx, sse, etc., which will lead
> to link error (some routines required for runtime dispatch are not
> built). How do we handle this? Should we check this in configure?

Well, it's tricky since there are many possible combinations.  Link
errors are always a bug, though.

In order to simplify things we can probably assume that cpu detection
and disabling CPU options is incompatible, i.e. cpu detection always
detects the whole feature set and not just parts.

Diego



More information about the MPlayer-dev-eng mailing list