Home
last modified time | relevance | path

Searched refs:shift_amount (Results 1 – 6 of 6) sorted by relevance

/art/compiler/dex/quick/arm/
Dint_arm.cc1555 int shift_amount = mir_graph_->ConstantValue(rl_shift) & 0x3f; in GenShiftImmOpLong() local
1556 if (shift_amount == 0) { in GenShiftImmOpLong()
1568 if (shift_amount == 1) { in GenShiftImmOpLong()
1571 } else if (shift_amount == 32) { in GenShiftImmOpLong()
1574 } else if (shift_amount > 31) { in GenShiftImmOpLong()
1575 OpRegRegImm(kOpLsl, rl_result.reg.GetHigh(), rl_src.reg.GetLow(), shift_amount - 32); in GenShiftImmOpLong()
1578 OpRegRegImm(kOpLsl, rl_result.reg.GetHigh(), rl_src.reg.GetHigh(), shift_amount); in GenShiftImmOpLong()
1580 EncodeShift(kArmLsr, 32 - shift_amount)); in GenShiftImmOpLong()
1581 OpRegRegImm(kOpLsl, rl_result.reg.GetLow(), rl_src.reg.GetLow(), shift_amount); in GenShiftImmOpLong()
1586 if (shift_amount == 32) { in GenShiftImmOpLong()
[all …]
/art/compiler/dex/quick/x86/
Dint_x86.cc662 int shift_amount = CTZ(imm); in GenDivRemLit() local
663 OpRegImm(kOpAsr, rl_result.reg, shift_amount); in GenDivRemLit()
1755 int shift_amount = CTZ(val); in GenMulLongConst() local
1759 shift_amount, flags); in GenMulLongConst()
2198 int shift_amount = CTZ(imm); in GenDivRemLongLit() local
2199 OpRegImm(kOpAsr, rl_result.reg, shift_amount); in GenDivRemLongLit()
2552 RegLocation rl_src, int shift_amount, int flags) { in GenShiftImmOpLong() argument
2573 OpRegRegImm(op, rl_result.reg, rl_src.reg, shift_amount); in GenShiftImmOpLong()
2578 DCHECK_NE(shift_amount, 1); // Prevent a double store from happening. in GenShiftImmOpLong()
2579 if (shift_amount == 32) { in GenShiftImmOpLong()
[all …]
Dcodegen_x86.h785 RegLocation rl_src, int shift_amount, int flags);
/art/compiler/optimizing/
Dcommon_arm64.h176 return vixl::Operand(mem_op.regoffset(), mem_op.extend(), mem_op.shift_amount()); in OperandFromMemOperand()
178 return vixl::Operand(mem_op.regoffset(), mem_op.shift(), mem_op.shift_amount()); in OperandFromMemOperand()
/art/compiler/dex/quick/mips/
Dint_mips.cc868 int shift_amount = mir_graph_->ConstantValue(rl_shift) & 0x3f; in GenShiftImmOpLong() local
870 if (shift_amount == 0) { in GenShiftImmOpLong()
892 OpRegRegImm(op, rl_result.reg, rl_src1.reg, shift_amount); in GenShiftImmOpLong()
/art/compiler/dex/quick/arm64/
Dint_arm64.cc1347 int shift_amount = mir_graph_->ConstantValue(rl_shift) & 0x3f; in GenShiftImmOpLong() local
1349 if (shift_amount == 0) { in GenShiftImmOpLong()
1371 OpRegRegImm(op, rl_result.reg, rl_src.reg, shift_amount); in GenShiftImmOpLong()