[Ffmpeg-devel] [PATCH] another vorbis optimization

Rich Felker dalias
Fri Aug 18 18:56:59 CEST 2006


On Fri, Aug 11, 2006 at 02:17:29AM +0200, Luca Barbato wrote:
> 
> Loren Merritt wrote:
> > One branch (perfectly predictable) vs saving 224 integer additions when
> > non-simd. Well, if you value simplicity of the code over speed in this
> > less-common case (and I guess I do too, else I would've mmxed this
> > loop), then I can remove it.
> >
> 
> At least on ppc the branchless version is slightly faster (better
> average with lower deviation)

This should be true on any sane cpu. Only exception might be shit with
slow bit arithmetic, P4 anyone??

Rich





More information about the ffmpeg-devel mailing list