[FFmpeg-cvslog] r20720 - trunk/libavcodec/apedec.c
Michael Niedermayer
michaelni
Thu Dec 3 20:03:56 CET 2009
On Thu, Dec 03, 2009 at 05:56:35PM +0000, Loren Merritt wrote:
> On Thu, 3 Dec 2009, lorenm wrote:
>
>> Author: lorenm
>> Date: Thu Dec 3 18:48:54 2009
>> New Revision: 20720
>>
>> Log:
>> avoid an unpredictable branch
>> 20% faster predictor_update_filter
>
> I can get another 15% from simd. But converting this patch to runtime cpu
> detection would be too annoying, so I won't.
you could move the function to a sperate file and
#ifdef ARCH_X86
#define SSE
#include "apedec_template.h"
#endif
#undef SSE
#include "apedec_template.h"
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20091203/5b93417c/attachment-0001.pgp>
More information about the ffmpeg-cvslog
mailing list