summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_slab.h
diff options
context:
space:
mode:
authorBenjamin Bellec <[email protected]>2011-06-08 23:00:54 +0200
committerRoland Scheidegger <[email protected]>2011-06-09 01:14:50 +0200
commit894db40f122175ed85e0d32d42296f2d56cf748e (patch)
treefd244d13c0543853bca8dcd8792c08310d69fc81 /src/gallium/auxiliary/util/u_slab.h
parent9f865646f1fb05cec72dcb1d7411670d38b0a9b4 (diff)
util: better logbase2/next_power_of_two implementations
Use __builtin_clz when available for logbase/next_power_of_two, and replace next_power_of_two with faster implementation otherwise.
Diffstat (limited to 'src/gallium/auxiliary/util/u_slab.h')
0 files changed, 0 insertions, 0 deletions