Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/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()
192 const uint64_t initial_power_of_2 = (uint64_t)1 << exponent; in util_compute_fast_sdiv_info() local
198 const uint64_t tmp = initial_power_of_2 + (D < 0); in util_compute_fast_sdiv_info()
202 uint64_t quotient1 = initial_power_of_2 / abs_test_numer; in util_compute_fast_sdiv_info()
203 uint64_t remainder1 = initial_power_of_2 % abs_test_numer; in util_compute_fast_sdiv_info()
204 uint64_t quotient2 = initial_power_of_2 / abs_d; in util_compute_fast_sdiv_info()
205 uint64_t remainder2 = initial_power_of_2 % abs_d; in util_compute_fast_sdiv_info()