Home
last modified time | relevance | path

Searched refs:last_bit (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_opt_shrink_vectors.c53 int last_bit = util_last_bit(mask); in shrink_dest_to_read_mask() local
59 if (def->num_components > last_bit) { in shrink_dest_to_read_mask()
60 def->num_components = last_bit; in shrink_dest_to_read_mask()
91 int last_bit = util_last_bit(mask); in opt_shrink_vectors_alu() local
92 if (last_bit < def->num_components) { in opt_shrink_vectors_alu()
94 for (int i = 0; i < last_bit; i++) in opt_shrink_vectors_alu()
97 nir_ssa_def *new_vec = nir_vec(b, srcs, last_bit); in opt_shrink_vectors_alu()
183 unsigned last_bit = util_last_bit(write_mask); in opt_shrink_vectors_intrinsic() local
184 if (last_bit < instr->num_components && instr->src[0].is_ssa) { in opt_shrink_vectors_intrinsic()
186 BITSET_MASK(last_bit)); in opt_shrink_vectors_intrinsic()
[all …]
/external/webrtc/modules/audio_coding/codecs/ilbc/
Ddecode.c57 int16_t last_bit; in WebRtcIlbcfix_DecodeImpl() local
80 last_bit = WebRtcIlbcfix_UnpackBits(swapped, iLBCbits_inst, iLBCdec_inst->mode); in WebRtcIlbcfix_DecodeImpl()
82 last_bit = WebRtcIlbcfix_UnpackBits(bytes, iLBCbits_inst, iLBCdec_inst->mode); in WebRtcIlbcfix_DecodeImpl()
92 if (last_bit==1) in WebRtcIlbcfix_DecodeImpl()
Dencode.c77 int16_t last_bit; in WebRtcIlbcfix_EncodeImpl() local
102 last_bit = WebRtcIlbcfix_UnpackBits (iLBCenc_inst->bytes, iLBCbits_inst, iLBCenc_inst->mode); in WebRtcIlbcfix_EncodeImpl()
103 if (last_bit) in WebRtcIlbcfix_EncodeImpl()
/external/libjpeg-turbo/
Drdgif.c97 int last_bit; /* # of bits in code_buf */ member
199 sinfo->last_bit = 0; /* nothing in the buffer */ in InitLZWCode()
220 while (sinfo->cur_bit + sinfo->code_size > sinfo->last_bit) { in GetCode()
241 sinfo->cur_bit = (sinfo->cur_bit - sinfo->last_bit) + 16; in GetCode()
243 sinfo->last_bit = sinfo->last_byte * 8; in GetCode()
/external/e2fsprogs/lib/ext2fs/
Dblkmap64_ba.c218 unsigned int last_bit = 0; in ba_test_clear_bmap_extent() local
268 last_bit |= 1 << mark_bit; in ba_test_clear_bmap_extent()
274 if (last_bit & ADDR[start_byte + len_byte]) in ba_test_clear_bmap_extent()
Dgen_bitmap.c473 int last_bit = 0; in ext2fs_test_clear_generic_bitmap_range() local
522 last_bit |= 1 << mark_bit; in ext2fs_test_clear_generic_bitmap_range()
528 if (last_bit & ADDR[start_byte + len_byte]) in ext2fs_test_clear_generic_bitmap_range()
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc.h840 #define BC_FIELD(fmt, name, shortname, last_bit, first_bit) \ argument
842 value |= ((v&((1ull<<((last_bit)-(first_bit)+1))-1))<<(first_bit)); \
846 return (value>>(first_bit))&((1ull<<((last_bit)-(first_bit)+1))-1); \
849 #define BC_RSRVD(fmt, last_bit, first_bit) argument
/external/llvm-project/libclc/generic/lib/math/
Dclc_fma.cl128 ulong last_bit = st_fma.mantissa & (1ul << (C_ADJUST + overflow_bits));
133 (trunc_bits == grs_bits && last_bit != 0))
/external/mesa3d/src/broadcom/cle/
Dv3d_decoder.c752 int last_bit = 0; in v3d_group_get_length() local
756 last_bit = MAX2(last_bit, field->end); in v3d_group_get_length()
758 return last_bit / 8 + 1; in v3d_group_get_length()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp9046 unsigned last_bit = util_last_bit(nir_ssa_def_components_read(&instr->dest.ssa)); in visit_tex() local
9048 switch (last_bit) { in visit_tex()
9062 if (last_bit == instr->dest.ssa.num_components && dst.type() == RegType::vgpr) in visit_tex()
9065 tmp_dst = bld.tmp(RegType::vgpr, last_bit); in visit_tex()
9075 expand_vector(ctx, tmp_dst, dst, instr->dest.ssa.num_components, (1 << last_bit) - 1); in visit_tex()