util: Optimize util_is_power_of_two_nonzero
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 13 Nov 2017 21:11:09 +0000 (13:11 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 29 Mar 2018 21:09:29 +0000 (14:09 -0700)
commitef7a4c90155cb180a4f0d289594ef11da9a2b21a
tree01d8ad661bd8e380bffe568c6cc8db472f76404c
parentcd18aa1e50e4668c8d992816bcdb74376dd1064c
util: Optimize util_is_power_of_two_nonzero

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Suggested-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
src/util/bitscan.h