/art/compiler/dex/quick/mips/ |
D | int_mips.cc | 118 RegStorage t_reg = AllocTemp(); in OpCmpBranch() local 120 NewLIR3(slt_op, t_reg.GetReg(), src2.GetReg(), src1.GetReg()); in OpCmpBranch() 122 NewLIR3(slt_op, t_reg.GetReg(), src1.GetReg(), src2.GetReg()); in OpCmpBranch() 124 branch = NewLIR1(br_op, t_reg.GetReg()); in OpCmpBranch() 125 FreeTemp(t_reg); in OpCmpBranch() 135 RegStorage t_reg = AllocTemp(); in OpCmpImmBranch() local 136 LoadConstant(t_reg, check_value); in OpCmpImmBranch() 137 branch = OpCmpBranch(cond, reg, t_reg, target); in OpCmpImmBranch() 138 FreeTemp(t_reg); in OpCmpImmBranch() 152 RegStorage t_reg = AllocTemp(); in OpCmpImmBranch() [all …]
|
D | utility_mips.cc | 361 RegStorage t_reg = AllocTemp(); in LoadBaseIndexed() local 373 first = NewLIR3(kMipsAddu, t_reg.GetReg() , r_base.GetReg(), r_index.GetReg()); in LoadBaseIndexed() 375 first = OpRegRegImm(kOpLsl, t_reg, r_index, scale); in LoadBaseIndexed() 376 NewLIR3(kMipsAddu, t_reg.GetReg() , r_base.GetReg(), t_reg.GetReg()); in LoadBaseIndexed() 403 res = NewLIR3(opcode, r_dest.GetReg(), 0, t_reg.GetReg()); in LoadBaseIndexed() 404 FreeTemp(t_reg); in LoadBaseIndexed() 413 RegStorage t_reg = AllocTemp(); in StoreBaseIndexed() local 425 first = NewLIR3(kMipsAddu, t_reg.GetReg() , r_base.GetReg(), r_index.GetReg()); in StoreBaseIndexed() 427 first = OpRegRegImm(kOpLsl, t_reg, r_index, scale); in StoreBaseIndexed() 428 NewLIR3(kMipsAddu, t_reg.GetReg() , r_base.GetReg(), t_reg.GetReg()); in StoreBaseIndexed() [all …]
|
/art/compiler/dex/quick/arm/ |
D | int_arm.cc | 127 RegStorage t_reg = AllocTemp(); in GenCmpLong() local 128 LoadConstant(t_reg, -1); in GenCmpLong() 132 OpRegRegReg(kOpSub, t_reg, rl_src1.reg.GetLow(), rl_src2.reg.GetLow()); in GenCmpLong() 136 NewLIR2(kThumb2MovI8M, t_reg.GetReg(), ModifiedImmediate(-1)); in GenCmpLong() 137 LoadConstant(t_reg, 1); in GenCmpLong() 141 OpRegReg(kOpNeg, t_reg, t_reg); in GenCmpLong() 146 rl_temp.reg.SetReg(t_reg.GetReg()); in GenCmpLong() 148 FreeTemp(t_reg); in GenCmpLong() 168 RegStorage t_reg = AllocTemp(); in GenFusedLongCmpImmBranch() local 169 NewLIR4(kThumb2OrrRRRs, t_reg.GetReg(), low_reg.GetReg(), high_reg.GetReg(), 0); in GenFusedLongCmpImmBranch() [all …]
|
/art/compiler/dex/quick/ |
D | gen_common.cc | 1369 RegStorage t_reg = AllocTemp(); in GenLong3Addr() local 1370 OpRegRegReg(first_op, t_reg, rl_src1.reg.GetLow(), rl_src2.reg.GetLow()); in GenLong3Addr() 1372 OpRegCopy(rl_result.reg.GetLow(), t_reg); in GenLong3Addr() 1373 FreeTemp(t_reg); in GenLong3Addr() 1502 RegStorage t_reg = AllocTemp(); in GenArithOpInt() local 1503 OpRegRegImm(kOpAnd, t_reg, rl_src2.reg, 31); in GenArithOpInt() 1506 OpRegRegReg(op, rl_result.reg, rl_src1.reg, t_reg); in GenArithOpInt() 1507 FreeTemp(t_reg); in GenArithOpInt() 1591 RegStorage t_reg = AllocTemp(); in HandleEasyDivRem() local 1594 OpRegRegImm(kOpLsr, t_reg, rl_src.reg, 32 - k); in HandleEasyDivRem() [all …]
|
D | gen_invoke.cc | 1312 RegStorage t_reg = AllocTemp(); in GenInlinedStringIsEmptyOrLength() local 1313 OpRegReg(kOpNeg, t_reg, rl_result.reg); in GenInlinedStringIsEmptyOrLength() 1314 OpRegRegReg(kOpAdc, rl_result.reg, rl_result.reg, t_reg); in GenInlinedStringIsEmptyOrLength()
|
/art/compiler/dex/quick/x86/ |
D | int_x86.cc | 485 RegStorage t_reg = AllocTemp(); in GenFusedLongCmpImmBranch() local 486 OpRegRegReg(kOpOr, t_reg, low_reg, high_reg); in GenFusedLongCmpImmBranch() 487 FreeTemp(t_reg); in GenFusedLongCmpImmBranch() 515 RegStorage t_reg = AllocTemp(); in GenFusedLongCmpImmBranch() local 516 OpRegCopy(t_reg, high_reg); in GenFusedLongCmpImmBranch() 517 NewLIR2(kX86Sbb32RI, t_reg.GetReg(), val_hi); in GenFusedLongCmpImmBranch() 518 FreeTemp(t_reg); in GenFusedLongCmpImmBranch() 1111 RegStorage t_reg = AllocTemp(); in GenMultiplyByTwoBitMultiplier() local 1112 OpRegRegImm(kOpLsl, t_reg, rl_src.reg, second_bit - first_bit); in GenMultiplyByTwoBitMultiplier() 1113 OpRegRegReg(kOpAdd, rl_result.reg, rl_src.reg, t_reg); in GenMultiplyByTwoBitMultiplier() [all …]
|
D | utility_x86.cc | 476 RegStorage t_reg = AllocTemp(); in OpRegRegReg() local 477 OpRegCopy(t_reg, r_src1); in OpRegRegReg() 478 OpRegReg(op, t_reg, r_src2); in OpRegRegReg() 479 LIR* res = OpRegCopyNoInsert(r_dest, t_reg); in OpRegRegReg() 481 FreeTemp(t_reg); in OpRegRegReg()
|
/art/compiler/dex/quick/arm64/ |
D | int_arm64.cc | 543 RegStorage t_reg; in HandleEasyDivRem64() local 547 t_reg = AllocTempWide(); in HandleEasyDivRem64() 551 t_reg = AllocTemp(); in HandleEasyDivRem64() 558 OpRegRegRegShift(kOpAdd, t_reg, rl_src.reg, rl_src.reg, shift); in HandleEasyDivRem64() 559 OpRegRegImm(kOpAsr, rl_result.reg, t_reg, k); in HandleEasyDivRem64() 561 OpRegRegImm(kOpAsr, t_reg, rl_src.reg, nbits - 1); in HandleEasyDivRem64() 562 OpRegRegRegShift(kOpAdd, t_reg, rl_src.reg, t_reg, shift); in HandleEasyDivRem64() 563 OpRegRegImm(kOpAsr, rl_result.reg, t_reg, k); in HandleEasyDivRem64() 567 OpRegRegRegShift(kOpAdd, t_reg, rl_src.reg, rl_src.reg, shift); in HandleEasyDivRem64() 568 OpRegRegImm64(kOpAnd, t_reg, t_reg, lit - 1); in HandleEasyDivRem64() [all …]
|