Lines Matching refs:dividend
895 Register dividend = ToRegister(instr->dividend());
897 DCHECK(dividend.is(ToRegister(instr->result())));
909 __ testl(dividend, dividend);
912 __ negl(dividend);
913 __ andl(dividend, Immediate(mask));
914 __ negl(dividend);
922 __ andl(dividend, Immediate(mask));
928 Register dividend = ToRegister(instr->dividend());
937 __ TruncatingDiv(dividend, Abs(divisor));
939 __ movl(rax, dividend);
947 __ cmpl(dividend, Immediate(0));
990 // Sign extend dividend in eax into edx:eax, since we are using only the low
994 // If we care about -0, test if the dividend is <0 and the result is 0.
1011 Register dividend = ToRegister(instr->dividend());
1013 DCHECK(dividend.is(ToRegister(instr->result())));
1020 __ sarl(dividend, Immediate(shift));
1025 __ negl(dividend);
1040 __ sarl(dividend, Immediate(shift));
1046 __ movl(dividend, Immediate(kMinInt / divisor));
1049 __ sarl(dividend, Immediate(shift));
1055 Register dividend = ToRegister(instr->dividend());
1067 __ testl(dividend, dividend);
1071 // Easy case: We need no dynamic check for the dividend and the flooring
1075 __ TruncatingDiv(dividend, Abs(divisor));
1083 DCHECK(!temp.is(dividend) && !temp.is(rax) && !temp.is(rdx));
1085 __ cmpl(dividend, Immediate(0));
1087 __ TruncatingDiv(dividend, Abs(divisor));
1091 __ leal(temp, Operand(dividend, divisor > 0 ? 1 : -1));
1102 Register dividend = ToRegister(instr->dividend());
1106 DCHECK(dividend.is(rax));
1121 __ testl(dividend, dividend);
1131 __ cmpl(dividend, Immediate(kMinInt));
1153 Register dividend = ToRegister(instr->dividend());
1157 DCHECK(!result.is(dividend));
1162 __ testl(dividend, dividend);
1167 __ cmpl(dividend, Immediate(kMinInt));
1174 __ testl(dividend, Immediate(mask));
1177 __ Move(result, dividend);
1183 __ addl(result, dividend);
1191 Register dividend = ToRegister(instr->dividend());
1203 __ testl(dividend, dividend);
1207 __ TruncatingDiv(dividend, Abs(divisor));
1213 __ subl(rax, dividend);
1222 Register dividend = ToRegister(instr->dividend());
1225 DCHECK(dividend.is(rax));
1240 __ testl(dividend, dividend);
1250 __ cmpl(dividend, Immediate(kMinInt));