Boost logo

Boost Users :

Subject: Re: [Boost-users] run-time integer log2
From: Vicente Botet Escriba (vicente.botet_at_[hidden])
Date: 2010-07-13 11:13:09

Bugzilla from tim_at_[hidden] wrote:
>> there is a GSOC project "Bits and Ints" that is working on a lot off this
>> kind of branch less algorithms. I can suggest him to include the integer
>> runtime variant of some math functions, as log2.
> that would be nice ... it would be even nicer, if you could suggest to
> make
> use of hardware instructions ... i am currently using this gcc-centric
> code
> [1] ...
> tim
> [1]

The GSOC project will make first a portable implementation. Once the
portable implementation is finished, other architecture dependent
implementation could be benchmarked and provided if they give better


View this message in context:
Sent from the Boost - Users mailing list archive at

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at