Lines Matching defs:shift
1423 SmiIndex TurboAssembler::SmiToIndex(Register dst, Register src, int shift) {
1425 DCHECK(is_uint6(shift));
1426 // There is a possible optimization if shift is in the range 60-63, but that
1431 if (shift < kSmiShift) {
1432 sarq(dst, Immediate(kSmiShift - shift));
1434 shlq(dst, Immediate(shift - kSmiShift));
1442 if (shift < kSmiShift) {
1443 sarq(dst, Immediate(kSmiShift - shift));
1444 } else if (shift != kSmiShift) {
1445 if (shift - kSmiShift <= static_cast<int>(times_8)) {
1446 return SmiIndex(dst, static_cast<ScaleFactor>(shift - kSmiShift));
1448 shlq(dst, Immediate(shift - kSmiShift));