VC3_DIV_MASK
val &= VC3_DIV_MASK(div_data->width);
bestdiv &= VC3_DIV_MASK(div_data->width);
VC3_DIV_MASK(div_data->width) << div_data->shift,