/art/compiler/dex/quick/mips/ |
D | utility_mips.cc | 763 RegStorage r_tmp = (r_base == r_dest) ? AllocTemp() : r_dest; in LoadBaseDispBody() local 764 res = OpRegRegImm(kOpAdd, r_tmp, r_base, displacement); in LoadBaseDispBody() 765 load = NewLIR3(opcode, r_dest.GetReg(), 0, r_tmp.GetReg()); in LoadBaseDispBody() 766 if (r_tmp != r_dest) in LoadBaseDispBody() 767 FreeTemp(r_tmp); in LoadBaseDispBody() 788 RegStorage r_tmp = AllocTemp(); in LoadBaseDispBody() local 793 load2 = NewLIR3(kMipsLw, r_tmp.GetReg(), displacement + HIWORD_OFFSET, r_base.GetReg()); in LoadBaseDispBody() 794 NewLIR2(kMipsMthc1, r_tmp.GetReg(), r_dest.GetReg()); in LoadBaseDispBody() 795 FreeTemp(r_tmp); in LoadBaseDispBody() 800 RegStorage r_tmp = (r_base == r_dest || r_dest.IsFloat()) ? AllocTemp() : r_dest; in LoadBaseDispBody() local [all …]
|
D | int_mips.cc | 269 RegStorage r_tmp = AllocTemp(); in OpRegCopyWide() local 270 OpRegCopy(r_tmp, r_src.GetHigh()); in OpRegCopyWide() 272 OpRegCopy(r_dest.GetHigh(), r_tmp); in OpRegCopyWide() 273 FreeTemp(r_tmp); in OpRegCopyWide()
|
/art/compiler/dex/quick/arm64/ |
D | fp_arm64.cc | 124 RegStorage r_tmp = AllocTempSingle(); in GenMultiplyByConstantFloat() local 125 LoadConstantNoClobber(r_tmp, constant); in GenMultiplyByConstantFloat() 128 NewLIR3(kA64Fmul3fff, rl_result.reg.GetReg(), rl_src1.reg.GetReg(), r_tmp.GetReg()); in GenMultiplyByConstantFloat() 135 RegStorage r_tmp = AllocTempDouble(); in GenMultiplyByConstantDouble() local 136 DCHECK(r_tmp.IsDouble()); in GenMultiplyByConstantDouble() 137 LoadConstantWide(r_tmp, constant); in GenMultiplyByConstantDouble() 143 NewLIR3(WIDE(kA64Fmul3fff), rl_result.reg.GetReg(), rl_src1.reg.GetReg(), r_tmp.GetReg()); in GenMultiplyByConstantDouble() 458 RegStorage r_tmp = (is_double) ? AllocTempDouble() : AllocTempSingle(); in GenInlinedRound() local 461 NewLIR3(kA64Fadd3fff | wide, r_tmp.GetReg(), rl_src.reg.GetReg(), r_imm_point5.GetReg()); in GenInlinedRound() 462 NewLIR2((is_double) ? kA64Fcvtms2xS : kA64Fcvtms2ws, rl_result.reg.GetReg(), r_tmp.GetReg()); in GenInlinedRound()
|
D | int_arm64.cc | 784 RegStorage r_tmp; in GenInlinedCas() local 789 r_tmp_stored = r_tmp = AllocTempWide(); in GenInlinedCas() 794 r_tmp = AllocTempRef(); in GenInlinedCas() 795 r_tmp_stored = As32BitReg(r_tmp); in GenInlinedCas() 798 r_tmp_stored = r_tmp = AllocTemp(); in GenInlinedCas() 801 RegStorage r_tmp32 = (r_tmp.Is32Bit()) ? r_tmp : As32BitReg(r_tmp); in GenInlinedCas() 804 OpRegReg(kOpCmp, r_tmp, rl_expected.reg); in GenInlinedCas() 818 FreeTemp(r_tmp); // Now unneeded. in GenInlinedCas() 1016 RegStorage r_tmp = AllocTemp(); in OpTestSuspend() local 1017 LoadBaseDisp(rs_xSELF, Thread::ThreadFlagsOffset<kArm64PointerSize>().Int32Value(), r_tmp, in OpTestSuspend() [all …]
|
D | utility_arm64.cc | 966 RegStorage r_tmp; in OpRegImm64() local 969 r_tmp = AllocTempWide(); in OpRegImm64() 970 res = LoadConstantWide(r_tmp, value); in OpRegImm64() 972 r_tmp = AllocTemp(); in OpRegImm64() 973 res = LoadConstant(r_tmp, value); in OpRegImm64() 975 OpRegReg(op, r_dest_src1, r_tmp); in OpRegImm64() 976 FreeTemp(r_tmp); in OpRegImm64()
|
/art/compiler/dex/quick/arm/ |
D | fp_arm.cc | 122 RegStorage r_tmp = AllocTempSingle(); in GenMultiplyByConstantFloat() local 123 LoadConstantNoClobber(r_tmp, constant); in GenMultiplyByConstantFloat() 126 NewLIR3(kThumb2Vmuls, rl_result.reg.GetReg(), rl_src1.reg.GetReg(), r_tmp.GetReg()); in GenMultiplyByConstantFloat() 133 RegStorage r_tmp = AllocTempDouble(); in GenMultiplyByConstantDouble() local 134 DCHECK(r_tmp.IsDouble()); in GenMultiplyByConstantDouble() 135 LoadConstantWide(r_tmp, constant); in GenMultiplyByConstantDouble() 141 NewLIR3(kThumb2Vmuld, rl_result.reg.GetReg(), rl_src1.reg.GetReg(), r_tmp.GetReg()); in GenMultiplyByConstantDouble()
|
D | int_arm.cc | 481 RegStorage r_tmp = AllocTemp(); in OpRegCopyWide() local 482 OpRegCopy(r_tmp, r_src.GetHigh()); in OpRegCopyWide() 484 OpRegCopy(r_dest.GetHigh(), r_tmp); in OpRegCopyWide() 485 FreeTemp(r_tmp); in OpRegCopyWide() 929 RegStorage r_tmp = AllocTemp(); in GenInlinedCas() local 938 NewLIR3(kThumb2Ldrexd, r_tmp.GetReg(), r_tmp_high.GetReg(), r_ptr.GetReg()); in GenInlinedCas() 939 OpRegReg(kOpSub, r_tmp, rl_expected.reg.GetLow()); in GenInlinedCas() 945 if (r_tmp.Low8() && r_tmp_high.Low8()) { in GenInlinedCas() 946 NewLIR2(kThumbOrr, r_tmp.GetReg(), r_tmp_high.GetReg()); in GenInlinedCas() 948 NewLIR4(kThumb2OrrRRRs, r_tmp.GetReg(), r_tmp.GetReg(), r_tmp_high.GetReg(), 0); in GenInlinedCas() [all …]
|
D | utility_arm.cc | 628 RegStorage r_tmp = AllocTemp(); in OpRegRegImm() local 629 res = LoadConstant(r_tmp, value); in OpRegRegImm() 630 OpRegReg(kOpCmp, r_src1, r_tmp); in OpRegRegImm() 631 FreeTemp(r_tmp); in OpRegRegImm()
|
/art/compiler/dex/quick/x86/ |
D | int_x86.cc | 166 RegStorage r_tmp = AllocTempDouble(); in OpRegCopyWide() local 167 NewLIR2(kX86MovdxrRR, r_tmp.GetReg(), r_src.GetHighReg()); in OpRegCopyWide() 168 NewLIR2(kX86PunpckldqRR, r_dest.GetReg(), r_tmp.GetReg()); in OpRegCopyWide() 169 FreeTemp(r_tmp); in OpRegCopyWide() 1410 RegStorage X86Mir2Lir::GetPcAndAnchor(LIR** anchor, RegStorage r_tmp) { in GetPcAndAnchor() argument 1419 RegStorage r_pc = r_tmp.Valid() ? r_tmp : AllocTempRef(); in GetPcAndAnchor() 3382 RegStorage r_tmp = RegStorage::MakeRegPair(rs_rAX, rs_rDX); in GenShiftOpLong() local 3383 LoadValueDirectWideFixed(rl_src1, r_tmp); in GenShiftOpLong() 3387 NewLIR3(kX86Shld32RRC, r_tmp.GetHighReg(), r_tmp.GetLowReg(), rs_rCX.GetReg()); in GenShiftOpLong() 3388 NewLIR2(kX86Sal32RC, r_tmp.GetLowReg(), rs_rCX.GetReg()); in GenShiftOpLong() [all …]
|
D | target_x86.cc | 2242 RegStorage r_tmp = AllocTempDouble(); in LoadVectorRegister() local 2243 NewLIR2(kX86MovdxrRR, r_tmp.GetReg(), rs_src.GetHighReg()); in LoadVectorRegister() 2244 NewLIR2(kX86PunpckldqRR, rs_dest.GetReg(), r_tmp.GetReg()); in LoadVectorRegister() 2245 FreeTemp(r_tmp); in LoadVectorRegister()
|
D | codegen_x86.h | 966 RegStorage GetPcAndAnchor(LIR** anchor, RegStorage r_tmp = RegStorage::InvalidReg());
|
/art/compiler/dex/quick/ |
D | gen_invoke.cc | 151 RegStorage r_tmp = TargetReg(cu_->instruction_set == kMips ? kArg2 : kArg1, kWide); in CallRuntimeHelperImmRegLocation() local 152 LoadValueDirectWideFixed(arg1, r_tmp); in CallRuntimeHelperImmRegLocation() 200 RegStorage r_tmp = TargetReg(kArg0, arg0.GetWideKind()); in CallRuntimeHelperRegMethod() local 201 if (r_tmp.NotExactlyEquals(arg0)) { in CallRuntimeHelperRegMethod() 202 OpRegCopy(r_tmp, arg0); in CallRuntimeHelperRegMethod() 213 RegStorage r_tmp = TargetReg(kArg0, arg0.GetWideKind()); in CallRuntimeHelperRegRegLocationMethod() local 214 if (r_tmp.NotExactlyEquals(arg0)) { in CallRuntimeHelperRegRegLocationMethod() 215 OpRegCopy(r_tmp, arg0); in CallRuntimeHelperRegRegLocationMethod()
|
D | gen_common.cc | 118 RegStorage r_tmp = TargetReg(kArg2, kNotWide); in GenGetOtherTypeForSgetSput() local 119 LockTemp(r_tmp); in GenGetOtherTypeForSgetSput() 120 uninit_branch = OpCmpMemImmBranch(kCondLt, r_tmp, r_base, in GenGetOtherTypeForSgetSput() 123 FreeTemp(r_tmp); in GenGetOtherTypeForSgetSput()
|