OSDN Git Service

gallium/util: Use HAVE___BUILTIN_FFS* macros.
authorJonathan Gray <jsg@jsg.id.au>
Tue, 17 Mar 2015 01:49:39 +0000 (12:49 +1100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 24 Mar 2015 20:49:32 +0000 (20:49 +0000)
commit726d99b19740dca6787ab819ab99bc9d942d80a6
treed9eb4da74190c7b2d18348c2c66e74016ba69f77
parent8cce7b05f19207d331a1abe294c201e0c3ee6ec1
gallium/util: Use HAVE___BUILTIN_FFS* macros.

Make use of the builtin ffs macros and split out ffsll
to a seperate block.  Needed for at least OpenBSD which
does not have ffsll in libc.

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/auxiliary/util/u_math.h