Home
last modified time | relevance | path

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

/art/runtime/interpreter/
Dinterpreter_common.h206 int32_t dividend, int32_t divisor) in DoIntDivide() argument
213 if (UNLIKELY(dividend == kMinInt && divisor == -1)) { in DoIntDivide()
216 shadow_frame.SetVReg(result_reg, dividend / divisor); in DoIntDivide()
224 int32_t dividend, int32_t divisor) in DoIntRemainder() argument
231 if (UNLIKELY(dividend == kMinInt && divisor == -1)) { in DoIntRemainder()
234 shadow_frame.SetVReg(result_reg, dividend % divisor); in DoIntRemainder()
242 int64_t dividend, int64_t divisor) in DoLongDivide() argument
249 if (UNLIKELY(dividend == kMinLong && divisor == -1)) { in DoLongDivide()
252 shadow_frame.SetVRegLong(result_reg, dividend / divisor); in DoLongDivide()
260 int64_t dividend, int64_t divisor) in DoLongRemainder() argument
[all …]
/art/test/701-easy-div-rem/src/
DMain.java29 public static void intCheckDiv(String desc, int result, int dividend, int divisor) { in intCheckDiv() argument
30 int correct_result = dividend / divisor; in intCheckDiv()
32 reportError(desc + "(" + dividend + ") == " + result + in intCheckDiv()
36 public static void intCheckRem(String desc, int result, int dividend, int divisor) { in intCheckRem() argument
37 int correct_result = dividend % divisor; in intCheckRem()
39 reportError(desc + "(" + dividend + ") == " + result + in intCheckRem()
43 public static void longCheckDiv(String desc, long result, long dividend, long divisor) { in longCheckDiv() argument
44 long correct_result = dividend / divisor; in longCheckDiv()
46 reportError(desc + "(" + dividend + ") == " + result + in longCheckDiv()
50 public static void longCheckRem(String desc, long result, long dividend, long divisor) { in longCheckRem() argument
[all …]
/art/compiler/llvm/
Dgbc_expander.cc1250 llvm::Value* dividend = call_inst.getArgOperand(0); in Expand_DivRem() local
1285 eq_result = irb_.CreateSub(zero, dividend); in Expand_DivRem()
1296 ne_result = irb_.CreateSDiv(dividend, divisor); in Expand_DivRem()
1298 ne_result = irb_.CreateSRem(dividend, divisor); in Expand_DivRem()