Searched refs:src_shift (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_conv.c | 910 unsigned src_shift = lp_const_shift(src_type); in lp_build_conv() local 919 if (dst_offset > src_offset && src_type.width > dst_type.width && src_shift > 0) { in lp_build_conv() 923 shifted = lp_build_shr_imm(&bld, tmp[i], src_shift - 1); in lp_build_conv() 928 if(src_shift > dst_shift) { in lp_build_conv() 930 tmp[i] = lp_build_shr_imm(&bld, tmp[i], src_shift - dst_shift); in lp_build_conv() 1016 unsigned src_shift = lp_const_shift(src_type); in lp_build_conv() local 1023 if (src_shift < dst_shift) { in lp_build_conv() 1026 if (dst_shift - src_shift < dst_type.width) { in lp_build_conv() 1029 tmp[i] = lp_build_shl_imm(&bld, tmp[i], dst_shift - src_shift); in lp_build_conv()
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_ra.c | 734 unsigned src_shift[MIR_SRC_COUNT]; in install_registers_instr() local 737 src_shift[i] = in install_registers_instr() 752 struct phys_reg src1 = index_to_reg(ctx, l, ins->src[0], src_shift[0]); in install_registers_instr() 753 struct phys_reg src2 = index_to_reg(ctx, l, ins->src[1], src_shift[1]); in install_registers_instr() 782 struct phys_reg src = index_to_reg(ctx, l, ins->src[0], src_shift[0]); in install_registers_instr() 800 struct phys_reg src = index_to_reg(ctx, l, src_index, src_shift[i]); in install_registers_instr() 817 struct phys_reg coord = index_to_reg(ctx, l, ins->src[1], src_shift[1]); in install_registers_instr() 818 struct phys_reg lod = index_to_reg(ctx, l, ins->src[2], src_shift[2]); in install_registers_instr() 819 struct phys_reg offset = index_to_reg(ctx, l, ins->src[3], src_shift[3]); in install_registers_instr()
|
D | mir.c | 129 if (ins->src_shift[i]) return true; in mir_nontrivial_mod()
|
D | compiler.h | 119 bool src_shift[MIR_SRC_COUNT]; member
|
D | midgard_emit.c | 86 mir_get_imod(ins->src_shift[i], ins->src_types[i], half, scalar) : in mir_pack_mod()
|