Lines Matching defs:shift
2204 // Shift amount specified by lower 5 bits, not six as the shl opcode.
2224 // Logic right shift interprets its result as an *unsigned* number.
2257 // Untag shift amount.
2259 // Shift amount specified by lower 5 bits, not six as the shl opcode.
2392 int shift) {
2394 ASSERT(is_uint6(shift));
2395 // There is a possible optimization if shift is in the range 60-63, but that
2400 if (shift < kSmiShift) {
2401 sarp(dst, Immediate(kSmiShift - shift));
2403 shlp(dst, Immediate(shift - kSmiShift));
2408 ASSERT(shift >= times_1 && shift <= (static_cast<int>(times_8) + 1));
2415 if (shift == times_1) {
2419 return SmiIndex(dst, static_cast<ScaleFactor>(shift - 1));
2426 int shift) {
2429 ASSERT(is_uint6(shift));
2434 if (shift < kSmiShift) {
2435 sarp(dst, Immediate(kSmiShift - shift));
2437 shlp(dst, Immediate(shift - kSmiShift));
2442 ASSERT(shift >= times_1 && shift <= (static_cast<int>(times_8) + 1));
2447 if (shift == times_1) {
2451 return SmiIndex(dst, static_cast<ScaleFactor>(shift - 1));
5139 int shift =
5141 shrl(rcx, Immediate(shift));
5143 Immediate((Page::kPageAlignmentMask >> shift) &
5350 if (ms.shift() > 0) sarl(rdx, Immediate(ms.shift()));