Lines Matching refs:dividend

2696   Register dividend = ToRegister32(instr->dividend());  in DoDivByPowerOf2I()  local
2700 DCHECK(!result.is(dividend)); in DoDivByPowerOf2I()
2705 DeoptimizeIfZero(dividend, instr); in DoDivByPowerOf2I()
2711 __ Cmp(dividend, 1); in DoDivByPowerOf2I()
2718 __ Tst(dividend, mask); in DoDivByPowerOf2I()
2723 __ Neg(result, dividend); in DoDivByPowerOf2I()
2728 __ Mov(result, dividend); in DoDivByPowerOf2I()
2730 __ Add(result, dividend, Operand(dividend, LSR, 31)); in DoDivByPowerOf2I()
2732 __ Mov(result, Operand(dividend, ASR, 31)); in DoDivByPowerOf2I()
2733 __ Add(result, dividend, Operand(result, LSR, 32 - shift)); in DoDivByPowerOf2I()
2741 Register dividend = ToRegister32(instr->dividend()); in DoDivByConstI() local
2744 DCHECK(!AreAliased(dividend, result)); in DoDivByConstI()
2754 DeoptimizeIfZero(dividend, instr); in DoDivByConstI()
2757 __ TruncatingDiv(result, dividend, Abs(divisor)); in DoDivByConstI()
2762 DCHECK(!AreAliased(dividend, result, temp)); in DoDivByConstI()
2763 __ Sxtw(dividend.X(), dividend); in DoDivByConstI()
2765 __ Smsubl(temp.X(), result, temp, dividend.X()); in DoDivByConstI()
2774 Register dividend = ToRegister32(instr->dividend()); in DoDivI() local
2780 __ Sdiv(result, dividend, divisor); in DoDivI()
2800 __ Ccmp(dividend, 0, NoFlag, mi); in DoDivI()
2808 __ Cmp(dividend, 1); in DoDivI()
2818 __ Msub(remainder, result, divisor, dividend); in DoDivI()
3901 Register dividend = ToRegister32(instr->dividend()); in DoFlooringDivByPowerOf2I() local
3907 __ Mov(result, dividend, kDiscardForSameWReg); in DoFlooringDivByPowerOf2I()
3915 __ Mov(result, Operand(dividend, ASR, shift)); in DoFlooringDivByPowerOf2I()
3920 __ Negs(result, dividend); in DoFlooringDivByPowerOf2I()
3935 __ Mov(result, Operand(dividend, ASR, shift)); in DoFlooringDivByPowerOf2I()
3945 Register dividend = ToRegister32(instr->dividend()); in DoFlooringDivByConstI() local
3948 DCHECK(!AreAliased(dividend, result)); in DoFlooringDivByConstI()
3958 DeoptimizeIfZero(dividend, instr); in DoFlooringDivByConstI()
3965 __ TruncatingDiv(result, dividend, Abs(divisor)); in DoFlooringDivByConstI()
3973 DCHECK(!AreAliased(temp, dividend, result)); in DoFlooringDivByConstI()
3975 __ Cmp(dividend, 0); in DoFlooringDivByConstI()
3977 __ TruncatingDiv(result, dividend, Abs(divisor)); in DoFlooringDivByConstI()
3981 __ Add(temp, dividend, Operand(divisor > 0 ? 1 : -1)); in DoFlooringDivByConstI()
3991 Register dividend = ToRegister32(instr->dividend()); in DoFlooringDivI() local
3998 __ Sdiv(result, dividend, divisor); in DoFlooringDivI()
4006 __ Cmp(dividend, 1); in DoFlooringDivI()
4014 __ Ccmp(dividend, 0, ZFlag, mi); in DoFlooringDivI()
4023 __ Eor(remainder, dividend, divisor); in DoFlooringDivI()
4027 __ Msub(remainder, result, divisor, dividend); in DoFlooringDivI()
4246 Register dividend = ToRegister32(instr->dividend()); in DoModByPowerOf2I() local
4248 DCHECK(dividend.is(ToRegister32(instr->result()))); in DoModByPowerOf2I()
4260 __ Tbz(dividend, kWSignBit, &dividend_is_not_negative); in DoModByPowerOf2I()
4262 __ Neg(dividend, dividend); in DoModByPowerOf2I()
4263 __ And(dividend, dividend, mask); in DoModByPowerOf2I()
4264 __ Negs(dividend, dividend); in DoModByPowerOf2I()
4272 __ And(dividend, dividend, mask); in DoModByPowerOf2I()
4278 Register dividend = ToRegister32(instr->dividend()); in DoModByConstI() local
4282 DCHECK(!AreAliased(dividend, result, temp)); in DoModByConstI()
4289 __ TruncatingDiv(result, dividend, Abs(divisor)); in DoModByConstI()
4290 __ Sxtw(dividend.X(), dividend); in DoModByConstI()
4292 __ Smsubl(result.X(), result, temp, dividend.X()); in DoModByConstI()
4299 DeoptimizeIfNegative(dividend, instr); in DoModByConstI()
4306 Register dividend = ToRegister32(instr->left()); in DoModI() local
4312 __ Sdiv(result, dividend, divisor); in DoModI()
4316 __ Msub(result, result, divisor, dividend); in DoModI()
4319 DeoptimizeIfNegative(dividend, instr); in DoModI()