gallivm: Fast implementation of iround(log2(x))
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 6 Oct 2010 16:44:05 +0000 (17:44 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 6 Oct 2010 17:46:59 +0000 (18:46 +0100)
commit012d57737b1b4e4263aa3414abe433195ff8a713
treeb138b67fe88cb4bd436c06904d6310ef78872001
parent4648846bd6c376877f024ccf300ceac5b0b3dcd6
gallivm: Fast implementation of iround(log2(x))

Not tested yet, but should be correct.
src/gallium/auxiliary/gallivm/lp_bld_arit.c
src/gallium/auxiliary/gallivm/lp_bld_arit.h