Lines Matching refs:shift
288 for (int shift = 0; shift < 64; shift += 16) { in GetNumFastHalfWords() local
289 uint16_t halfword = static_cast<uint16_t>(value >> shift); in GetNumFastHalfWords()
422 int shift; in LoadConstantNoClobber() local
425 shift = 0; in LoadConstantNoClobber()
429 shift = 1; in LoadConstantNoClobber()
435 res = NewLIR3(kA64Movn3rdM, r_dest.GetReg(), ~useful_bits, shift); in LoadConstantNoClobber()
437 res = NewLIR3(kA64Movz3rdM, r_dest.GetReg(), useful_bits, shift); in LoadConstantNoClobber()
503 int shift; in LoadConstantWide() local
504 for (shift = 0; shift < 4; shift++) { in LoadConstantWide()
505 uint16_t halfword = static_cast<uint16_t>(uvalue >> (shift << 4)); in LoadConstantWide()
507 res = NewLIR3(op, r_dest.GetReg(), halfword ^ background, shift); in LoadConstantWide()
513 for (shift++; shift < 4; shift++) { in LoadConstantWide()
514 uint16_t halfword = static_cast<uint16_t>(uvalue >> (shift << 4)); in LoadConstantWide()
516 NewLIR3(WIDE(kA64Movk3rdM), r_dest.GetReg(), halfword, shift); in LoadConstantWide()
566 LIR* Arm64Mir2Lir::OpRegRegShift(OpKind op, RegStorage r_dest_src1, RegStorage r_src2, int shift) { in OpRegRegShift() argument
591 DCHECK_EQ(shift, 0); in OpRegRegShift()
602 DCHECK_EQ(shift, ENCODE_NO_SHIFT); in OpRegRegShift()
607 DCHECK_EQ(shift, ENCODE_NO_SHIFT); in OpRegRegShift()
613 DCHECK_EQ(shift, ENCODE_NO_SHIFT); in OpRegRegShift()
616 return OpRegRegRegShift(op, r_dest_src1, r_dest_src1, r_src2, shift); in OpRegRegShift()
621 DCHECK_EQ(shift, ENCODE_NO_SHIFT); in OpRegRegShift()
626 return NewLIR3(opcode | wide, r_dest_src1.GetReg(), r_src2.GetReg(), shift); in OpRegRegShift()
696 RegStorage r_src2, int shift) { in OpRegRegRegShift() argument
754 DCHECK(!IsExtendEncoding(shift)); in OpRegRegRegShift()
755 return NewLIR4(widened_opcode, r_dest.GetReg(), r_src1.GetReg(), r_src2.GetReg(), shift); in OpRegRegRegShift()
758 DCHECK_EQ(shift, ENCODE_NO_SHIFT); in OpRegRegRegShift()
943 bool shift; in OpRegImm64() local
949 shift = false; in OpRegImm64()
952 shift = true; in OpRegImm64()
1003 (shift) ? 1 : 0); in OpRegImm64()
1005 return NewLIR3(opcode | wide, r_dest_src1.GetReg(), abs_value, (shift) ? 1 : 0); in OpRegImm64()