/art/compiler/dex/quick/x86/ |
D | fp_x86.cc | 27 RegLocation rl_result; in GenArithOpFloat() local 62 rl_result = EvalLoc(rl_dest, kFPReg, true); in GenArithOpFloat() 63 RegStorage r_dest = rl_result.reg; in GenArithOpFloat() 72 StoreValue(rl_dest, rl_result); in GenArithOpFloat() 84 RegLocation rl_result; in GenArithOpDouble() local 115 rl_result = EvalLoc(rl_dest, kFPReg, true); in GenArithOpDouble() 116 if (rl_result.reg == rl_src2.reg) { in GenArithOpDouble() 118 OpRegCopy(rl_src2.reg, rl_result.reg); in GenArithOpDouble() 120 OpRegCopy(rl_result.reg, rl_src1.reg); in GenArithOpDouble() 121 NewLIR2(op, rl_result.reg.GetReg(), rl_src2.reg.GetReg()); in GenArithOpDouble() [all …]
|
D | int_x86.cc | 39 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenCmpLong() local 42 NewLIR2(kX86Set8R, rl_result.reg.GetReg(), kX86CondG); // result = (src1 > src2) ? 1 : 0 in GenCmpLong() 44 NewLIR2(kX86Sub8RR, rl_result.reg.GetReg(), temp_reg.GetReg()); in GenCmpLong() 45 NewLIR2(kX86Movsx8qRR, rl_result.reg.GetReg(), rl_result.reg.GetReg()); in GenCmpLong() 47 StoreValue(rl_dest, rl_result); in GenCmpLong() 68 RegLocation rl_result = LocCReturn(); in GenCmpLong() local 69 StoreValue(rl_dest, rl_result); in GenCmpLong() 271 RegLocation rl_result; in GenSelect() local 288 rl_result = EvalLoc(rl_dest, result_reg_class, true); in GenSelect() 289 LoadConstantNoClobber(rl_result.reg, true_val); in GenSelect() [all …]
|
D | target_x86.cc | 2152 RegLocation rl_result; in GenAddReduceVector() local 2173 rl_result = EvalLoc(rl_dest, kFPReg, true); in GenAddReduceVector() 2176 NewLIR2(kX86AddssRR, rl_result.reg.GetReg(), rs_src1.GetReg()); in GenAddReduceVector() 2179 NewLIR2(kX86AddssRR, rl_result.reg.GetReg(), rs_src1.GetReg()); in GenAddReduceVector() 2180 StoreValue(rl_dest, rl_result); in GenAddReduceVector() 2222 rl_result = UpdateLocTyped(rl_dest, kCoreReg); in GenAddReduceVector() 2223 if (rl_result.location == kLocPhysReg) { in GenAddReduceVector() 2225 rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenAddReduceVector() 2226 OpRegReg(kOpAdd, rl_result.reg, temp); in GenAddReduceVector() 2227 StoreFinalValue(rl_dest, rl_result); in GenAddReduceVector() [all …]
|
D | call_x86.cc | 179 RegLocation rl_result = EvalLoc(rl_dest, kRefReg, true); in GenMoveException() local 180 NewLIR2(cu_->target64 ? kX86Mov64RT : kX86Mov32RT, rl_result.reg.GetReg(), ex_offset); in GenMoveException() 182 StoreValue(rl_dest, rl_result); in GenMoveException()
|
D | codegen_x86.h | 245 void GenMultiplyByTwoBitMultiplier(RegLocation rl_src, RegLocation rl_result, int lit,
|
/art/compiler/dex/quick/arm64/ |
D | fp_arm64.cc | 27 RegLocation rl_result; in GenArithOpFloat() local 50 rl_result = GetReturn(kFPReg); in GenArithOpFloat() 51 StoreValue(rl_dest, rl_result); in GenArithOpFloat() 61 rl_result = EvalLoc(rl_dest, kFPReg, true); in GenArithOpFloat() 62 NewLIR3(op, rl_result.reg.GetReg(), rl_src1.reg.GetReg(), rl_src2.reg.GetReg()); in GenArithOpFloat() 63 StoreValue(rl_dest, rl_result); in GenArithOpFloat() 69 RegLocation rl_result; in GenArithOpDouble() local 98 rl_result = GetReturnWide(kFPReg); in GenArithOpDouble() 99 StoreValueWide(rl_dest, rl_result); in GenArithOpDouble() 112 rl_result = EvalLoc(rl_dest, kFPReg, true); in GenArithOpDouble() [all …]
|
D | int_arm64.cc | 51 RegLocation rl_result; in GenCmpLong() local 54 rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenCmpLong() 57 NewLIR4(kA64Csinc4rrrc, rl_result.reg.GetReg(), rwzr, rwzr, kArmCondEq); in GenCmpLong() 58 NewLIR4(kA64Csneg4rrrc, rl_result.reg.GetReg(), rl_result.reg.GetReg(), in GenCmpLong() 59 rl_result.reg.GetReg(), kArmCondGe); in GenCmpLong() 60 StoreValue(rl_dest, rl_result); in GenCmpLong() 84 RegLocation rl_result = EvalLocWide(rl_dest, kCoreReg, true); in GenShiftOpLong() local 85 OpRegRegReg(op, rl_result.reg, rl_src1.reg, As64BitReg(rl_shift.reg)); in GenShiftOpLong() 86 StoreValueWide(rl_dest, rl_result); in GenShiftOpLong() 193 RegLocation rl_result = EvalLoc(rl_dest, rl_dest.ref ? kRefReg : kCoreReg, true); in GenSelect() local [all …]
|
D | call_arm64.cc | 281 RegLocation rl_result = EvalLoc(rl_dest, kRefReg, true); in GenMoveException() local 282 LoadRefDisp(rs_xSELF, ex_offset, rl_result.reg, kNotVolatile); in GenMoveException() 284 StoreValue(rl_dest, rl_result); in GenMoveException()
|
D | codegen_arm64.h | 196 void GenMultiplyByTwoBitMultiplier(RegLocation rl_src, RegLocation rl_result, int lit,
|
/art/compiler/dex/quick/arm/ |
D | fp_arm.cc | 26 RegLocation rl_result; in GenArithOpFloat() local 53 rl_result = GetReturn(kFPReg); in GenArithOpFloat() 54 StoreValue(rl_dest, rl_result); in GenArithOpFloat() 64 rl_result = EvalLoc(rl_dest, kFPReg, true); in GenArithOpFloat() 65 NewLIR3(op, rl_result.reg.GetReg(), rl_src1.reg.GetReg(), rl_src2.reg.GetReg()); in GenArithOpFloat() 66 StoreValue(rl_dest, rl_result); in GenArithOpFloat() 72 RegLocation rl_result; in GenArithOpDouble() local 95 rl_result = GetReturnWide(kFPReg); in GenArithOpDouble() 96 StoreValueWide(rl_dest, rl_result); in GenArithOpDouble() 109 rl_result = EvalLoc(rl_dest, kFPReg, true); in GenArithOpDouble() [all …]
|
D | int_arm.cc | 231 RegLocation rl_result; in GenSelect() local 243 rl_result = EvalLoc(rl_dest, result_reg_class, true); in GenSelect() 251 OpRegRegImm(kOpSub, rl_result.reg, rl_src.reg, -true_val); in GenSelect() 254 LoadConstant(rl_result.reg, false_val); in GenSelect() 257 OpRegRegImm(kOpRsub, rl_result.reg, rl_src.reg, 1); in GenSelect() 260 LoadConstant(rl_result.reg, false_val); in GenSelect() 265 LoadConstant(rl_result.reg, true_val); in GenSelect() 266 LoadConstant(rl_result.reg, false_val); in GenSelect() 276 OpRegCopy(rl_result.reg, t_reg1); in GenSelect() 277 OpRegCopy(rl_result.reg, t_reg2); in GenSelect() [all …]
|
D | call_arm.cc | 315 RegLocation rl_result = EvalLoc(rl_dest, kRefReg, true); in GenMoveException() local 317 LoadRefDisp(rs_rARM_SELF, ex_offset, rl_result.reg, kNotVolatile); in GenMoveException() 321 StoreValue(rl_dest, rl_result); in GenMoveException()
|
D | codegen_arm.h | 130 void GenMultiplyByTwoBitMultiplier(RegLocation rl_src, RegLocation rl_result, int lit,
|
/art/compiler/dex/quick/mips/ |
D | fp_mips.cc | 27 RegLocation rl_result; in GenArithOpFloat() local 54 rl_result = GetReturn(kFPReg); in GenArithOpFloat() 55 StoreValue(rl_dest, rl_result); in GenArithOpFloat() 65 rl_result = EvalLoc(rl_dest, kFPReg, true); in GenArithOpFloat() 66 NewLIR3(op, rl_result.reg.GetReg(), rl_src1.reg.GetReg(), rl_src2.reg.GetReg()); in GenArithOpFloat() 67 StoreValue(rl_dest, rl_result); in GenArithOpFloat() 73 RegLocation rl_result; in GenArithOpDouble() local 96 rl_result = GetReturnWide(kFPReg); in GenArithOpDouble() 97 StoreValueWide(rl_dest, rl_result); in GenArithOpDouble() 109 rl_result = EvalLoc(rl_dest, kFPReg, true); in GenArithOpDouble() [all …]
|
D | int_mips.cc | 50 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenCmpLong() local 53 NewLIR3(kMipsSubu, rl_result.reg.GetReg(), t1.GetReg(), t0.GetReg()); in GenCmpLong() 54 LIR* branch = OpCmpImmBranch(kCondNe, rl_result.reg, 0, NULL); in GenCmpLong() 57 NewLIR3(kMipsSubu, rl_result.reg.GetReg(), t1.GetReg(), t0.GetReg()); in GenCmpLong() 62 StoreValue(rl_dest, rl_result); in GenCmpLong() 241 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenDivRem() local 243 NewLIR1(kMipsMflo, rl_result.reg.GetReg()); in GenDivRem() 245 NewLIR1(kMipsMfhi, rl_result.reg.GetReg()); in GenDivRem() 247 return rl_result; in GenDivRem() 255 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenDivRemLit() local [all …]
|
D | call_mips.cc | 263 RegLocation rl_result = EvalLoc(rl_dest, kRefReg, true); in GenMoveException() local 265 LoadRefDisp(rs_rMIPS_SELF, ex_offset, rl_result.reg, kNotVolatile); in GenMoveException() 269 StoreValue(rl_dest, rl_result); in GenMoveException()
|
D | codegen_mips.h | 127 void GenMultiplyByTwoBitMultiplier(RegLocation rl_src, RegLocation rl_result, int lit,
|
/art/compiler/dex/quick/ |
D | gen_common.cc | 316 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenIntToLong() local 318 OpRegCopy(rl_result.reg, rl_src.reg); in GenIntToLong() 320 LoadValueDirect(rl_src, rl_result.reg.GetLow()); in GenIntToLong() 322 OpRegRegImm(kOpAsr, rl_result.reg.GetHigh(), rl_result.reg.GetLow(), 31); in GenIntToLong() 323 StoreValueWide(rl_dest, rl_result); in GenIntToLong() 329 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenIntNarrowing() local 344 OpRegReg(op, rl_result.reg, rl_src.reg); in GenIntNarrowing() 345 StoreValue(rl_dest, rl_result); in GenIntNarrowing() 676 RegLocation rl_result = EvalLoc(rl_dest, reg_class, true); in GenSget() local 680 LoadRefDisp(r_base, field_offset, rl_result.reg, field_info.IsVolatile() ? kVolatile : in GenSget() [all …]
|
D | gen_invoke.cc | 1218 RegLocation rl_result = EvalLoc(rl_dest, kRefReg, true); in GenInlinedReferenceGetReferent() local 1220 LoadRefDisp(rl_obj.reg, mirror::Reference::ReferentOffset().Int32Value(), rl_result.reg, in GenInlinedReferenceGetReferent() 1223 StoreValue(rl_dest, rl_result); in GenInlinedReferenceGetReferent() 1282 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenInlinedCharAt() local 1283 LoadBaseIndexed(reg_ptr, reg_off, rl_result.reg, 1, kUnsignedHalf); in GenInlinedCharAt() 1286 StoreValue(rl_dest, rl_result); in GenInlinedCharAt() 1305 RegLocation rl_result = EvalLoc(rl_dest, kCoreReg, true); in GenInlinedStringIsEmptyOrLength() local 1307 Load32Disp(rl_obj.reg, mirror::String::CountOffset().Int32Value(), rl_result.reg); in GenInlinedStringIsEmptyOrLength() 1313 OpRegReg(kOpNeg, t_reg, rl_result.reg); in GenInlinedStringIsEmptyOrLength() 1314 OpRegRegReg(kOpAdc, rl_result.reg, rl_result.reg, t_reg); in GenInlinedStringIsEmptyOrLength() [all …]
|
D | mir_to_lir.cc | 392 RegLocation rl_result = mir_graph_->GetBadLoc(); in CompileDalvikInstruction() local 525 rl_result = EvalLoc(rl_dest, kAnyReg, true); in CompileDalvikInstruction() 526 LoadConstantWide(rl_result.reg, static_cast<int64_t>(vB) << 48); in CompileDalvikInstruction() 527 StoreValueWide(rl_dest, rl_result); in CompileDalvikInstruction() 559 rl_result = EvalLoc(rl_dest, kCoreReg, true); in CompileDalvikInstruction() 560 Load32Disp(rl_src[0].reg, len_offset, rl_result.reg); in CompileDalvikInstruction() 562 StoreValue(rl_dest, rl_result); in CompileDalvikInstruction()
|
D | mir_to_lir.h | 1360 virtual void GenMultiplyByTwoBitMultiplier(RegLocation rl_src, RegLocation rl_result, int lit,
|