Searched refs:util_logbase2_64 (Results 1 – 7 of 7) sorted by relevance
35 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()
56 unsigned div_shift = util_logbase2_64(D); in util_compute_fast_udiv_info()
472 util_logbase2_64(uint64_t n) in util_logbase2_64() function507 return 1ull + util_logbase2_64(n - 1); in util_logbase2_ceil64()
44 arr->node_size_log2 = util_logbase2_64(node_size); in util_sparse_array_init()
276 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()
452 reg.data.u64 = util_logbase2_64(reg.data.u64); in applyLog2()
1001 int shl = util_logbase2_64(b); in createMul()1020 int shl = subA ? util_logbase2_64(absB + 1) : util_logbase2_64(absB - 1); in createMul()