[MPlayer-dev-eng] [PATCH] configure cmov detection

Zuxy Meng zuxy.meng at gmail.com
Thu Oct 19 03:38:48 CEST 2006


Hi,

2006/10/16, Ivan Kalvachev <ikalvachev at gmail.com>:
> To let lavcodecs use cmov for cabac decoder (h264), we need to detect
> it in configure.
>
> I followed the _mmx way of detection.

_mmx are actually checked twice: once the cpuinfo flag 'mmx' and later
the kernel support (by actually executing an mmx instruction).
Checking the cpuinfo flag is more straight forward IMHO.

>
> I'm not sure what processors besides i686 support cmov, so I wrote
> K6-2+ , feel free to correct me.

All CPU that support cmov will have a cpuinfo flag 'cmov'.

>
> I had also disable cmov for runtime-cpu detection as we need to make
> the code handle it first.
>
> Here is the patch.

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



More information about the MPlayer-dev-eng mailing list