Searched refs:first_bit (Results 1 - 5 of 5) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_nir_analyze_ubo_ranges.c264 int first_bit = ffsll(offsets) - 1; local in function:brw_nir_analyze_ubo_ranges
266 /* Find the first 0 bit in offsets beyond first_bit. To find the
268 * order to ignore bits before first_bit, we mask off those bits.
270 int first_hole = ffsll(~offsets & ~((1ull << first_bit) - 1)) - 1;
287 entry->range.start = first_bit;
289 entry->range.length = first_hole - first_bit;
293 entry->benefit += info->uses[first_bit + i];
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_nir_analyze_ubo_ranges.c258 int first_bit = ffsll(offsets) - 1; local in function:brw_nir_analyze_ubo_ranges
260 /* Find the first 0 bit in offsets beyond first_bit. To find the
262 * order to ignore bits before first_bit, we mask off those bits.
264 int first_hole = ffsll(~offsets & ~((1ull << first_bit) - 1)) - 1;
281 entry->range.start = first_bit;
283 entry->range.length = first_hole - first_bit;
287 entry->benefit += info->uses[first_bit + i];
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r600/sb/
H A Dsb_bc.h806 #define BC_FIELD(fmt, name, shortname, last_bit, first_bit) \
808 value |= ((v&((1ull<<((last_bit)-(first_bit)+1))-1))<<(first_bit)); \
812 return (value>>(first_bit))&((1ull<<((last_bit)-(first_bit)+1))-1); \
815 #define BC_RSRVD(fmt, last_bit, first_bit)
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sb/
H A Dsb_bc.h845 #define BC_FIELD(fmt, name, shortname, last_bit, first_bit) \
847 value |= ((v&((1ull<<((last_bit)-(first_bit)+1))-1))<<(first_bit)); \
851 return (value>>(first_bit))&((1ull<<((last_bit)-(first_bit)+1))-1); \
854 #define BC_RSRVD(fmt, last_bit, first_bit)
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_builder.h1081 * [first_bit, first_bit + dest_num_components * dest_bit_size)
1092 unsigned first_bit,
1101 if (first_bit > 0)
1102 common_bit_size = MIN2(common_bit_size, (1u << (ffs(first_bit) - 1)));
1117 const unsigned bit = first_bit + (i * common_bit_size);
1091 nir_extract_bits(nir_builder * b,nir_ssa_def ** srcs,unsigned num_srcs,unsigned first_bit,unsigned dest_num_components,unsigned dest_bit_size) argument

Completed in 10 milliseconds