[igt-dev] [PATCH i-g-t 1/3] lib: Add igt_hweight{32,64}

Chris Wilson chris at chris-wilson.co.uk
Tue Mar 13 00:21:21 UTC 2018


Quoting Ville Syrjala (2018-03-12 20:42:22)
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Add the binary hamming weight helpers to igt_aux.h.

Could we at least use __builtin_type_compatible_p to have a
igt_hweight() that does the right thing?
-Chris


More information about the igt-dev mailing list