/art/compiler/optimizing/ |
D | code_generator_utils.cc | 24 void CalculateMagicAndShiftForDivRem(int64_t divisor, bool is_long, in CalculateMagicAndShiftForDivRem() argument 27 DCHECK_NE(divisor, 0); in CalculateMagicAndShiftForDivRem() 57 uint64_t abs_d = (divisor >= 0) ? divisor : -divisor; in CalculateMagicAndShiftForDivRem() 58 uint64_t sign_bit = is_long ? static_cast<uint64_t>(divisor) >> 63 : in CalculateMagicAndShiftForDivRem() 59 static_cast<uint32_t>(divisor) >> 31; in CalculateMagicAndShiftForDivRem() 89 *magic = (divisor > 0) ? (quotient2 + 1) : (-quotient2 - 1); in CalculateMagicAndShiftForDivRem()
|
D | code_generator_utils.h | 30 void CalculateMagicAndShiftForDivRem(int64_t divisor, bool is_long, int64_t* magic, int* shift);
|
D | instruction_simplifier.cc | 1270 static constexpr bool CanDivideByReciprocalMultiplyFloat(int32_t divisor) { in CanDivideByReciprocalMultiplyFloat() argument 1272 return ((divisor & 0x7fffff) == 0); in CanDivideByReciprocalMultiplyFloat() 1276 static constexpr bool CanDivideByReciprocalMultiplyDouble(int64_t divisor) { in CanDivideByReciprocalMultiplyDouble() argument 1278 return ((divisor & ((UINT64_C(1) << 52) - 1)) == 0); in CanDivideByReciprocalMultiplyDouble()
|
D | code_generator_mips64.cc | 3310 GpuRegister divisor = second.AsRegister<GpuRegister>(); in GenerateDivRemIntegral() local 3313 __ DivR6(out, dividend, divisor); in GenerateDivRemIntegral() 3315 __ Ddiv(out, dividend, divisor); in GenerateDivRemIntegral() 3318 __ ModR6(out, dividend, divisor); in GenerateDivRemIntegral() 3320 __ Dmod(out, dividend, divisor); in GenerateDivRemIntegral() 3392 int64_t divisor = codegen_->GetInt64ValueOf(value.GetConstant()->AsConstant()); in VisitDivZeroCheck() local 3393 if (divisor == 0) { in VisitDivZeroCheck()
|
D | code_generator_arm64.cc | 3465 Register divisor = InputRegisterAt(instruction, 1); in GenerateDivRemIntegral() local 3467 __ Sdiv(out, dividend, divisor); in GenerateDivRemIntegral() 3471 __ Sdiv(temp, dividend, divisor); in GenerateDivRemIntegral() 3472 __ Msub(out, temp, divisor, dividend); in GenerateDivRemIntegral() 3537 int64_t divisor = Int64ConstantFrom(value); in VisitDivZeroCheck() local 3538 if (divisor == 0) { in VisitDivZeroCheck()
|
D | code_generator_mips.cc | 3698 Register divisor = second.AsRegister<Register>(); in GenerateDivRemIntegral() local 3702 __ DivR6(out, dividend, divisor); in GenerateDivRemIntegral() 3704 __ DivR2(out, dividend, divisor); in GenerateDivRemIntegral() 3708 __ ModR6(out, dividend, divisor); in GenerateDivRemIntegral() 3710 __ ModR2(out, dividend, divisor); in GenerateDivRemIntegral()
|
/art/runtime/interpreter/ |
D | interpreter_common.h | 328 int32_t dividend, int32_t divisor) in DoIntDivide() argument 331 if (UNLIKELY(divisor == 0)) { in DoIntDivide() 335 if (UNLIKELY(dividend == kMinInt && divisor == -1)) { in DoIntDivide() 338 shadow_frame.SetVReg(result_reg, dividend / divisor); in DoIntDivide() 346 int32_t dividend, int32_t divisor) in DoIntRemainder() argument 349 if (UNLIKELY(divisor == 0)) { in DoIntRemainder() 353 if (UNLIKELY(dividend == kMinInt && divisor == -1)) { in DoIntRemainder() 356 shadow_frame.SetVReg(result_reg, dividend % divisor); in DoIntRemainder() 366 int64_t divisor) in DoLongDivide() argument 369 if (UNLIKELY(divisor == 0)) { in DoLongDivide() [all …]
|
/art/runtime/base/ |
D | time_utils.cc | 80 uint64_t divisor = GetNsToTimeUnitDivisor(time_unit); in FormatDuration() local 95 const uint64_t whole_part = nano_duration / divisor; in FormatDuration() 96 uint64_t fractional_part = nano_duration % divisor; in FormatDuration() 106 while (avail_digits > 1 && fractional_part * multiplier < divisor) { in FormatDuration()
|
D | timing_logger.cc | 206 uint64_t divisor = GetNsToTimeUnitDivisor(tu); in Dump() local 207 uint64_t mod_fraction = divisor >= 1000 ? divisor / 1000 : 1; in Dump()
|
/art/test/435-try-finally-without-catch/ |
D | info.txt | 8 divisor is non-null, as it wouldn't be used. However, dx is not 9 that clever regarding exception handling: if the divisor is known to
|