[Ffmpeg-devel] [PATCH] protect cmov asm sections with HAVE_CMOV

Michael Niedermayer michaelni
Fri Oct 20 09:54:41 CEST 2006


On Fri, Oct 20, 2006 at 09:49:24AM +0200, Guillaume POIRIER wrote:
> Hi,
> Now that configure script is able to "detect" if CMOV is supported, I
> guess it's time to use it where appropriate, which is just what this
> patch is supposed to do.
> Note that with this patch, CMOV_IS_FAST == HAVE_CMOV, but since we
> (can) know (after having done some benchmark) on which CPU CMOV is
> actually fast (pretty much all of them except netburst processors), we
> can make configure set CMOV_IS_FAST if HAVE_CMOV==1 && !CMPU=P4 or
> smth like that.
> Thoughts?

patch looks ok

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-devel mailing list