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

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

Completed in 2 milliseconds