util: don't use __builtin_clz unconditionally
authorMarek Olšák <marek.olsak@amd.com>
Wed, 1 Aug 2018 02:50:44 +0000 (22:50 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 1 Aug 2018 03:28:01 +0000 (23:28 -0400)
commit157c6e81958d3b2223adf5567722b0502ada78ec
tree6e90b4dcd64cb6f70ed60308b542718bbaa77caa
parentc5c6e0187fd5d535c304ca3fd62de0f5e636c0c2
util: don't use __builtin_clz unconditionally

This fixes the build if __builtin_clz is unsupported.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/util/half_float.c