Home
last modified time | relevance | path

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

/external/mesa3d/src/util/
Dfast_idiv_by_const.c84 const uint64_t initial_power_of_2 = (uint64_t)1 << (UINT_BITS-1); in util_compute_fast_udiv_info() local
87 uint64_t quotient = initial_power_of_2 / D; in util_compute_fast_udiv_info()
88 uint64_t remainder = initial_power_of_2 % D; in util_compute_fast_udiv_info()
198 const uint64_t initial_power_of_2 = (uint64_t)1 << exponent; in util_compute_fast_sdiv_info() local
204 const uint64_t tmp = initial_power_of_2 + (D < 0); in util_compute_fast_sdiv_info()
208 uint64_t quotient1 = initial_power_of_2 / abs_test_numer; in util_compute_fast_sdiv_info()
209 uint64_t remainder1 = initial_power_of_2 % abs_test_numer; in util_compute_fast_sdiv_info()
210 uint64_t quotient2 = initial_power_of_2 / abs_d; in util_compute_fast_sdiv_info()
211 uint64_t remainder2 = initial_power_of_2 % abs_d; in util_compute_fast_sdiv_info()