Home
last modified time | relevance | path

Searched refs:src_shift (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/panfrost/midgard/
Dmidgard_ra.c663 unsigned src_shift[MIR_SRC_COUNT]; in install_registers_instr() local
666 src_shift[i] = in install_registers_instr()
681 struct phys_reg src1 = index_to_reg(ctx, l, ins->src[0], src_shift[0]); in install_registers_instr()
682 struct phys_reg src2 = index_to_reg(ctx, l, ins->src[1], src_shift[1]); in install_registers_instr()
711 struct phys_reg src = index_to_reg(ctx, l, ins->src[0], src_shift[0]); in install_registers_instr()
729 struct phys_reg src = index_to_reg(ctx, l, src_index, src_shift[i]); in install_registers_instr()
746 struct phys_reg coord = index_to_reg(ctx, l, ins->src[1], src_shift[1]); in install_registers_instr()
747 struct phys_reg lod = index_to_reg(ctx, l, ins->src[2], src_shift[2]); in install_registers_instr()
748 struct phys_reg offset = index_to_reg(ctx, l, ins->src[3], src_shift[3]); in install_registers_instr()
Dmir.c123 if (ins->src_shift[i]) return true; in mir_nontrivial_mod()
Dcompiler.h119 bool src_shift[MIR_SRC_COUNT]; member
Dmidgard_emit.c56 mir_get_imod(ins->src_shift[i], ins->src_types[i], half, scalar) : in mir_pack_mod()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_conv.c899 unsigned src_shift = lp_const_shift(src_type); in lp_build_conv() local
908 if (dst_offset > src_offset && src_type.width > dst_type.width && src_shift > 0) { in lp_build_conv()
912 shifted = lp_build_shr_imm(&bld, tmp[i], src_shift - 1); in lp_build_conv()
917 if(src_shift > dst_shift) { in lp_build_conv()
919 tmp[i] = lp_build_shr_imm(&bld, tmp[i], src_shift - dst_shift); in lp_build_conv()
1005 unsigned src_shift = lp_const_shift(src_type); in lp_build_conv() local
1012 if (src_shift < dst_shift) { in lp_build_conv()
1015 if (dst_shift - src_shift < dst_type.width) { in lp_build_conv()
1018 tmp[i] = lp_build_shl_imm(&bld, tmp[i], dst_shift - src_shift); in lp_build_conv()
/external/mesa3d/src/util/format/
Du_format_pack.py387 src_shift = get_one_shift(src_channel)
389 value = '(%s >> %s)' % (value, src_shift - dst_shift)