Searched refs:src_shift (Results 1 - 8 of 8) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c880 unsigned src_shift = lp_const_shift(src_type); local in function:lp_build_conv
889 if (dst_offset > src_offset && src_type.width > dst_type.width && src_shift > 0) {
893 shifted = lp_build_shr_imm(&bld, tmp[i], src_shift - 1);
898 if(src_shift > dst_shift) {
900 tmp[i] = lp_build_shr_imm(&bld, tmp[i], src_shift - dst_shift);
986 unsigned src_shift = lp_const_shift(src_type); local in function:lp_build_conv
993 if (src_shift < dst_shift) {
996 if (dst_shift - src_shift < dst_type.width) {
999 tmp[i] = lp_build_shl_imm(&bld, tmp[i], dst_shift - src_shift);
/xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/
H A Dmidgard_ra.c689 unsigned src_shift[MIR_SRC_COUNT]; local in function:install_registers_instr
692 src_shift[i] =
707 struct phys_reg src1 = index_to_reg(ctx, l, ins->src[0], src_shift[0]);
708 struct phys_reg src2 = index_to_reg(ctx, l, ins->src[1], src_shift[1]);
737 struct phys_reg src = index_to_reg(ctx, l, ins->src[0], src_shift[0]);
755 struct phys_reg src = index_to_reg(ctx, l, src_index, src_shift[i]);
772 struct phys_reg coord = index_to_reg(ctx, l, ins->src[1], src_shift[1]);
773 struct phys_reg lod = index_to_reg(ctx, l, ins->src[2], src_shift[2]);
774 struct phys_reg offset = index_to_reg(ctx, l, ins->src[3], src_shift[3]);
H A Dcompiler.h119 bool src_shift[MIR_SRC_COUNT]; member in struct:midgard_instruction::__anon1c8d7790020a::__anon1c8d77900408
H A Dmir.c129 if (ins->src_shift[i]) return true;
H A Dmidgard_emit.c97 mir_get_imod(ins->src_shift[i], ins->src_types[i], half, scalar) :
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c910 unsigned src_shift = lp_const_shift(src_type); local in function:lp_build_conv
919 if (dst_offset > src_offset && src_type.width > dst_type.width && src_shift > 0) {
923 shifted = lp_build_shr_imm(&bld, tmp[i], src_shift - 1);
928 if(src_shift > dst_shift) {
930 tmp[i] = lp_build_shr_imm(&bld, tmp[i], src_shift - dst_shift);
1016 unsigned src_shift = lp_const_shift(src_type); local in function:lp_build_conv
1023 if (src_shift < dst_shift) {
1026 if (dst_shift - src_shift < dst_type.width) {
1029 tmp[i] = lp_build_shl_imm(&bld, tmp[i], dst_shift - src_shift);
/xsrc/external/mit/MesaLib.old/dist/src/freedreno/vulkan/
H A Dtu_meta_copy.c128 unsigned src_shift = src_va & 0x3f; local in function:tu_copy_buffer
130 unsigned max_shift = MAX2(src_shift, dst_shift);
132 src_va -= src_shift;
147 A6XX_SP_PS_2D_SRC_SIZE_WIDTH(src_shift + size_todo) |
182 tu_cs_emit(&cmdbuf->cs, A6XX_GRAS_2D_SRC_TL_X_X(src_shift));
184 A6XX_GRAS_2D_SRC_BR_X_X(src_shift + size_todo - 1));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_format_pack.py388 src_shift = get_one_shift(src_channel)
390 value = '(%s >> %s)' % (value, src_shift - dst_shift)

Completed in 15 milliseconds