Lines Matching defs:shift
1137 // can simply do an arithmetic right shift.
1139 int32_t shift = WhichPowerOf2Abs(divisor);
1141 __ sarl(dividend, Immediate(shift));
1161 __ sarl(dividend, Immediate(shift));
1170 __ sarl(dividend, Immediate(shift));
1299 int32_t shift = WhichPowerOf2Abs(divisor);
1300 if (shift > 0) {
1301 // The arithmetic shift is always OK, the 'if' is an optimization only.
1302 if (shift > 1) __ sarl(result, Immediate(31));
1303 __ shrl(result, Immediate(32 - shift));
1305 __ sarl(result, Immediate(shift));
3273 // Take the tag bit into account while computing the shift size.