Home
last modified time | relevance | path

Searched refs:UINT_BITS (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/util/
Dfast_idiv_by_const.c46 util_compute_fast_udiv_info(uint64_t D, unsigned num_bits, unsigned UINT_BITS) in util_compute_fast_udiv_info() argument
49 assert(num_bits > 0 && num_bits <= UINT_BITS); in util_compute_fast_udiv_info()
60 result.multiplier = 1ull << (UINT_BITS - div_shift); in util_compute_fast_udiv_info()
68 result.multiplier = UINT_BITS == 64 ? UINT64_MAX : in util_compute_fast_udiv_info()
69 (1ull << UINT_BITS) - 1; in util_compute_fast_udiv_info()
79 const unsigned extra_shift = UINT_BITS - num_bits; in util_compute_fast_udiv_info()
84 const uint64_t initial_power_of_2 = (uint64_t)1 << (UINT_BITS-1); in util_compute_fast_udiv_info()
164 UINT_BITS); in util_compute_fast_udiv_info()
Dfast_idiv_by_const.h127 util_compute_fast_udiv_info(uint64_t D, unsigned num_bits, unsigned UINT_BITS);