Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_opt_idiv_const.c35 return nir_ushr_imm(b, n, util_logbase2_64(d)); in build_udiv()
77 nir_ssa_def *uq = nir_ushr_imm(b, nir_iabs(b, n), util_logbase2_64(abs_d)); in build_idiv()
/external/mesa3d/src/util/
Dfast_idiv_by_const.c56 unsigned div_shift = util_logbase2_64(D); in util_compute_fast_udiv_info()
Du_math.h472 util_logbase2_64(uint64_t n) in util_logbase2_64() function
507 return 1ull + util_logbase2_64(n - 1); in util_logbase2_ceil64()
Dsparse_array.c44 arr->node_size_log2 = util_logbase2_64(node_size); in util_sparse_array_init()
/external/mesa3d/src/util/tests/fast_idiv_by_const/
Dfast_idiv_by_const_test.cpp276 unsigned n_bits = bounded ? util_logbase2_64(MAX2(n, 1)) + 1 : bits; in random_udiv_add_sat_test()
293 unsigned n_bits = bounded ? util_logbase2_64(MAX2(n, 1)) + 1: bits; in random_udiv_mul_add_test()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir.cpp452 reg.data.u64 = util_logbase2_64(reg.data.u64); in applyLog2()
Dnv50_ir_peephole.cpp1001 int shl = util_logbase2_64(b); in createMul()
1020 int shl = subA ? util_logbase2_64(absB + 1) : util_logbase2_64(absB - 1); in createMul()