On Tue, Dec 03, 2013 at 02:57:00PM -0800, Jarno Rajahalme wrote:
> 
> On Dec 3, 2013, at 8:31 AM, Ben Pfaff <b...@nicira.com> wrote:
> 
> > On Tue, Nov 26, 2013 at 11:24:51AM -0800, Jarno Rajahalme wrote:
> >> Count leading zeroes using builtin if available.
> >> 
> >> Make log_2_floor() use raw_clz() and inline log_2_floor() and
> >> log_2_ceil().
> >> 
> >> Signed-off-by: Jarno Rajahalme <jrajaha...@nicira.com>
> > 
> > I assume you tested both implementations of raw_clz64()?
> > 
> 
> Yes, by manually changing the GCC detection tests (so that they
> fail) above these both in util.c and util.h.

Yes, that's how I do that kind of thing too.

> > Acked-by: Ben Pfaff <b...@nicira.com>
> 
> Pushed to master,

Thanks!
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to