util: Use win32 intrinsics for util_last_bit if present.
authorMathias Fröhlich <mathias.froehlich@web.de>
Sat, 6 Aug 2016 05:26:51 +0000 (07:26 +0200)
committerMathias Fröhlich <Mathias.Froehlich@gmx.net>
Wed, 10 Aug 2016 07:30:07 +0000 (09:30 +0200)
commit0ce5ec8ece78f7936dc7bf0ad58fa1ed01783e25
tree3e40f1729f82ee4b900fa963c9e7497c2b2b01c6
parent3f100b77f9a80828fbb3651ea013f9dd3913d047
util: Use win32 intrinsics for util_last_bit if present.

v2: Split into two patches.
v3: Fix off by one problem.

Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Reviewed-by: Brian Paul <brianp@vmware.com>
Tested-by: Brian Paul <brianp@vmware.com>
src/util/bitscan.h