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

Guillaume POIRIER gpoirier
Mon Oct 16 22:13:53 CEST 2006


Diego Biurrun a ?crit :
> On Fri, Oct 13, 2006 at 12:03:52PM +0200, Michael Niedermayer wrote:

> 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:

So is the attached patch OK? (note that I don't remember if these days 
ARCH_X86 means all x86 or just 32 bits mode babies).
It should take care of all the issues that can happen with CMOV as far 
as I can see.

Off course, I still plan to add support for --tune and --cpu for FFmpeg 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMOV_IS_FAST-fix.diff
Type: text/x-patch
Size: 469 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061016/f24bde9d/attachment.bin>

More information about the ffmpeg-devel mailing list