Searched refs:common_bit_size (Results 1 – 2 of 2) sorted by relevance
1098 unsigned common_bit_size = dest_bit_size; in nir_extract_bits() local1100 common_bit_size = MIN2(common_bit_size, srcs[i]->bit_size); in nir_extract_bits()1102 common_bit_size = MIN2(common_bit_size, (1u << (ffs(first_bit) - 1))); in nir_extract_bits()1105 assert(common_bit_size >= 8); in nir_extract_bits()1108 assert(num_bits / common_bit_size <= ARRAY_SIZE(common_comps)); in nir_extract_bits()1116 for (unsigned i = 0; i < num_bits / common_bit_size; i++) { in nir_extract_bits()1117 const unsigned bit = first_bit + (i * common_bit_size); in nir_extract_bits()1126 assert(bit + common_bit_size <= src_end_bit); in nir_extract_bits()1132 if (srcs[src_idx]->bit_size > common_bit_size) { in nir_extract_bits()1133 nir_ssa_def *unpacked = nir_unpack_bits(b, comp, common_bit_size); in nir_extract_bits()[all …]
656 unsigned common_bit_size = MIN2(get_bit_size(low), get_bit_size(high)); in new_bitsize_acceptable() local657 common_bit_size = MIN2(common_bit_size, new_bit_size); in new_bitsize_acceptable()659 common_bit_size = MIN2(common_bit_size, (1u << (ffs(high_offset * 8) - 1))); in new_bitsize_acceptable()660 if (new_bit_size / common_bit_size > NIR_MAX_VEC_COMPONENTS) in new_bitsize_acceptable()