Home
last modified time | relevance | path

Searched refs:util_logbase2_64 (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_idiv_const.c35 return nir_ushr_imm(b, n, util_logbase2_64(d)); in build_udiv()
81 nir_ssa_def *uq = nir_ushr_imm(b, nir_iabs(b, n), util_logbase2_64(abs_d)); in build_idiv()
/third_party/mesa3d/src/util/tests/fast_idiv_by_const/
Dfast_idiv_by_const_test.cpp273 unsigned n_bits = bounded ? util_logbase2_64(MAX2(n, 1)) + 1 : bits; in random_udiv_add_sat_test()
290 unsigned n_bits = bounded ? util_logbase2_64(MAX2(n, 1)) + 1: bits; in random_udiv_mul_add_test()
/third_party/mesa3d/src/util/
Du_math.h408 util_logbase2_64(uint64_t n) in util_logbase2_64() function
443 return 1ull + util_logbase2_64(n - 1); in util_logbase2_ceil64()
Dfast_idiv_by_const.c57 unsigned div_shift = util_logbase2_64(D); in util_compute_fast_udiv_info()
Dsparse_array.c44 arr->node_size_log2 = util_logbase2_64(node_size); in util_sparse_array_init()
/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir.cpp451 reg.data.u64 = util_logbase2_64(reg.data.u64); in applyLog2()
Dnv50_ir_peephole.cpp1004 int shl = util_logbase2_64(b); in createMul()
1023 int shl = subA ? util_logbase2_64(absB + 1) : util_logbase2_64(absB - 1); in createMul()