| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_conv.c | 880 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 D | midgard_ra.c | 689 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 D | compiler.h | 119 bool src_shift[MIR_SRC_COUNT]; member in struct:midgard_instruction::__anon1c8d7790020a::__anon1c8d77900408
|
| H A D | mir.c | 129 if (ins->src_shift[i]) return true;
|
| H A D | midgard_emit.c | 97 mir_get_imod(ins->src_shift[i], ins->src_types[i], half, scalar) :
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_conv.c | 910 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 D | tu_meta_copy.c | 128 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 D | u_format_pack.py | 388 src_shift = get_one_shift(src_channel) 390 value = '(%s >> %s)' % (value, src_shift - dst_shift)
|