[flac-dev] [PATCH] Optimize COUNT_ZERO_MSBS macro

Erik de Castro Lopo mle+la at mega-nerd.com
Mon May 7 13:54:26 PDT 2012


Miroslav Lichvar wrote:

> Reorder the conditions according to the expected distribution of input
> signal. This seems to make it almost as fast as the clz builtin using
> the bsr instruction.

Applied. Thanks Miroslav.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/


More information about the flac-dev mailing list