gallium/util: add util_bitcount64
authorMarek Olšák <marek.olsak@amd.com>
Wed, 24 Sep 2014 16:26:21 +0000 (18:26 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 4 Oct 2014 13:16:14 +0000 (15:16 +0200)
commitaf4f5a7c97f3ab47bbd21aa7c27d0c0aaf01f959
tree7f39a5ab1ae4ae0a490bb7780ed393aefce4c87b
parent837907b8b3bd290e2fa8092579a4855097ecab9f
gallium/util: add util_bitcount64

I'll need this in radeonsi.

v2: use __builtin_popcountll if available

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/auxiliary/util/u_math.h