Searched refs:post_shift (Results 1 - 21 of 21) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dfast_idiv_by_const.h50 * if m.post_shift > 0: emit("result >>= m.shift")
90 * if m.post_shift > 0: emit("result >>>= m.post_shift")
99 * if m.post_shift > 0: emit("result >>>= m.post_shift")
121 unsigned post_shift; /* shift for the dividend after multiplying */ member in struct:util_fast_udiv_info
146 n = n >> info.post_shift;
160 n = n >> info.post_shift;
175 n = n >> info.post_shift;
H A Dfast_idiv_by_const.c62 result.post_shift = 0;
71 result.post_shift = 0;
146 result.post_shift = exponent;
153 result.post_shift = down_exponent;
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dfast_idiv_by_const.h50 * if m.post_shift > 0: emit("result >>= m.shift")
90 * if m.post_shift > 0: emit("result >>>= m.post_shift")
99 * if m.post_shift > 0: emit("result >>>= m.post_shift")
121 unsigned post_shift; /* shift for the dividend after multiplying */ member in struct:util_fast_udiv_info
146 n = n >> info.post_shift;
160 n = n >> info.post_shift;
175 n = n >> info.post_shift;
H A Dfast_idiv_by_const.c63 result.post_shift = 0;
71 result.post_shift = 0;
146 result.post_shift = exponent;
153 result.post_shift = down_exponent;
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_opt_idiv_const.c45 if (m.post_shift)
46 n = nir_ushr(b, n, nir_imm_int(b, m.post_shift));
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_opt_idiv_const.c45 if (m.post_shift)
46 n = nir_ushr_imm(b, n, m.post_shift);
/xsrc/external/mit/MesaLib.old/dist/src/amd/common/
H A Dac_llvm_build.h194 LLVMValueRef post_shift,
200 LLVMValueRef post_shift,
205 LLVMValueRef post_shift);
H A Dac_llvm_build.c663 LLVMValueRef post_shift,
676 return LLVMBuildLShr(builder, num, post_shift, "");
686 LLVMValueRef post_shift,
698 return LLVMBuildLShr(builder, num, post_shift, "");
706 LLVMValueRef post_shift)
715 return LLVMBuildLShr(builder, num, post_shift, "");
659 ac_build_fast_udiv(struct ac_llvm_context * ctx,LLVMValueRef num,LLVMValueRef multiplier,LLVMValueRef pre_shift,LLVMValueRef post_shift,LLVMValueRef increment) argument
682 ac_build_fast_udiv_nuw(struct ac_llvm_context * ctx,LLVMValueRef num,LLVMValueRef multiplier,LLVMValueRef pre_shift,LLVMValueRef post_shift,LLVMValueRef increment) argument
703 ac_build_fast_udiv_u31_d_not_one(struct ac_llvm_context * ctx,LLVMValueRef num,LLVMValueRef multiplier,LLVMValueRef post_shift) argument
/xsrc/external/mit/MesaLib.old/dist/src/util/tests/fast_idiv_by_const/
H A Dfast_idiv_by_const_test.cpp153 n = n >> m.post_shift;
168 n = n >> m.post_shift;
/xsrc/external/mit/MesaLib/dist/src/util/tests/fast_idiv_by_const/
H A Dfast_idiv_by_const_test.cpp150 n = n >> m.post_shift;
165 n = n >> m.post_shift;
/xsrc/external/mit/MesaLib.old/dist/src/intel/common/
H A Dgen_mi_builder.h739 if (m.post_shift)
740 N = gen_mi_ushr32_imm(b, N, m.post_shift);
/xsrc/external/mit/MesaLib/dist/src/amd/llvm/
H A Dac_llvm_build.h216 LLVMValueRef post_shift, LLVMValueRef increment);
219 LLVMValueRef post_shift, LLVMValueRef increment);
221 LLVMValueRef multiplier, LLVMValueRef post_shift);
H A Dac_llvm_build.c716 LLVMValueRef post_shift, LLVMValueRef increment)
726 return LLVMBuildLShr(builder, num, post_shift, "");
734 LLVMValueRef post_shift, LLVMValueRef increment)
744 return LLVMBuildLShr(builder, num, post_shift, "");
750 LLVMValueRef multiplier, LLVMValueRef post_shift)
758 return LLVMBuildLShr(builder, num, post_shift, "");
714 ac_build_fast_udiv(struct ac_llvm_context * ctx,LLVMValueRef num,LLVMValueRef multiplier,LLVMValueRef pre_shift,LLVMValueRef post_shift,LLVMValueRef increment) argument
732 ac_build_fast_udiv_nuw(struct ac_llvm_context * ctx,LLVMValueRef num,LLVMValueRef multiplier,LLVMValueRef pre_shift,LLVMValueRef post_shift,LLVMValueRef increment) argument
749 ac_build_fast_udiv_u31_d_not_one(struct ac_llvm_context * ctx,LLVMValueRef num,LLVMValueRef multiplier,LLVMValueRef post_shift) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/iris/
H A Diris_query.c494 if (m.post_shift) {
498 if (m.post_shift < 32)
499 emit_alu_shl(batch, MI_ALU_R0, MI_ALU_R0, 32 - m.post_shift);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_state.h546 unsigned post_shift; /* shift for the dividend after multiplying */ member in struct:si_fast_udiv_info32
H A Dsi_state.c4675 info.post_shift,
4691 STATIC_ASSERT(sizeof(divisor_factors[0].post_shift) == 4);
/xsrc/external/mit/MesaLib/dist/src/intel/common/
H A Dmi_builder.h1126 if (m.post_shift)
1127 N = mi_ushr32_imm(b, N, m.post_shift);
/xsrc/external/mit/MesaLib/dist/src/asahi/compiler/
H A Dagx_compile.c117 agx_index postshift = agx_mov_imm(b, 32, info.post_shift);
130 if (info.post_shift != 0) n = agx_ushr(b, n, postshift);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/radeonsi/
H A Dsi_state.c4417 unsigned post_shift; /* shift for the dividend after multiplying */ member in struct:util_fast_udiv_info32
4431 info.post_shift,
4448 STATIC_ASSERT(sizeof(divisor_factors[0].post_shift) == 4);
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_instruction_selection.cpp297 bool post_shift = info.post_shift != 0; local in function:aco::__anon562fcc110110::emit_v_div_u32
299 if (!pre_shift && !increment && !multiply && !post_shift) {
306 pre_shift_dst = (increment || multiply || post_shift) ? bld.tmp(v1) : dst;
313 increment_dst = (post_shift || multiply) ? bld.tmp(v1) : dst;
319 multiply_dst = post_shift ? bld.tmp(v1) : dst;
324 if (post_shift) {
325 bld.vop2(aco_opcode::v_lshrrev_b32, Definition(dst), Operand::c32(info.post_shift),
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_cmd_buffer.c2953 *(inputs++) = info.pre_shift | (info.increment << 8) | (info.post_shift << 16);

Completed in 179 milliseconds