util: add gcc version check for builtins
authorRoland Scheidegger <sroland@vmware.com>
Wed, 8 Jun 2011 21:23:24 +0000 (23:23 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 8 Jun 2011 23:14:50 +0000 (01:14 +0200)
commitb3d5822e932767a572f392ae2b3ca1dfee5f6b03
tree79cc975a4b647aca295f14ca5e336ef08fe556aa
parent894db40f122175ed85e0d32d42296f2d56cf748e
util: add gcc version check for builtins

Looks like only next_power_of_two, logbase2 and bitcount use builtins
requiring gcc 3.4, so maybe everything else compiles with older gcc.
src/gallium/auxiliary/util/u_math.h