bitcount16
#define hweight16(x) (__builtin_constant_p(x) ? HWEIGHT16(x) : bitcount16(x))
#define ice_hweight8(x) bitcount16((u8)x)
#define ice_hweight16(x) bitcount16(x)
if (width < 1 || width > 8 || bitcount16(width) > 1)
if (width < 1 || width > 8 || bitcount16(width) > 1)