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

Zuxy Meng zuxy.meng
Mon Oct 16 10:42:13 CEST 2006


2006/10/16, Diego Biurrun <diego at biurrun.de>:
> On Fri, Oct 13, 2006 at 12:03:52PM +0200, Michael Niedermayer wrote:
> >
> > this will break runtime cpudetect (yeah i know my crap code already
> > broke it but thats not supposed to stay that way in svn)
> BTW, is there an ETA on this?  We've postponed MPlayer 1.0RC1 to the
> next weekend yesterday because of the cmov issue ...
> We already have some cmov code in libavutil/common.h, which is enclosed
> by '#if defined(ARCH_X86) && __CPU__ >= 686'.  I wanted to commit this
> as a quick fix to libavcodec/cabac.h, but there are two problems:
> 1) Apparently there are 686 CPUs without cmov (VIA C3).

IIRC mplayer's configure can detect this crap and set $iproc to 586.

> 2) The #else case at cabac.h:472 will not compile (there is a single
>   line with FIXTHIS on it) and even then it's broken, the decode only
>   produces a gray picture.

Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6

More information about the ffmpeg-devel mailing list