Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dcode_generator_utils.cc56 uint64_t abs_d = (divisor >= 0) ? divisor : -divisor; in CalculateMagicAndShiftForDivRem() local
60 uint64_t abs_nc = tmp - 1 - (tmp % abs_d); in CalculateMagicAndShiftForDivRem()
63 uint64_t quotient2 = exp / abs_d; in CalculateMagicAndShiftForDivRem()
64 uint64_t remainder2 = exp % abs_d; in CalculateMagicAndShiftForDivRem()
81 if (remainder2 >= abs_d) { in CalculateMagicAndShiftForDivRem()
83 remainder2 = remainder2 - abs_d; in CalculateMagicAndShiftForDivRem()
85 delta = abs_d - remainder2; in CalculateMagicAndShiftForDivRem()
/art/compiler/dex/quick/x86/
Dint_x86.cc560 uint64_t abs_d = (divisor >= 0) ? divisor : -divisor; in CalculateMagicAndShift() local
563 uint64_t abs_nc = tmp - 1 - tmp % abs_d; in CalculateMagicAndShift()
566 uint64_t quotient2 = exp / abs_d; in CalculateMagicAndShift()
567 uint64_t remainder2 = exp % abs_d; in CalculateMagicAndShift()
584 if (remainder2 >= abs_d) { in CalculateMagicAndShift()
586 remainder2 = remainder2 - abs_d; in CalculateMagicAndShift()
588 delta = abs_d - remainder2; in CalculateMagicAndShift()