Lines Matching refs:TMP
654 DCHECK_NE(temp1_, TMP); in EmitNativeCode()
710 Register tmp_ptr = TMP; // Pointer to actual memory. in EmitNativeCode()
1106 __ Move(TMP, r2); in EmitSwap()
1108 __ Move(r1, TMP); in EmitSwap()
1135 __ Move(TMP, r2); in EmitSwap()
1137 __ Mtc1(TMP, f1); in EmitSwap()
1142 __ Move(TMP, r2); in EmitSwap()
1144 __ Move(r1, TMP); in EmitSwap()
1147 __ Move(TMP, r2); in EmitSwap()
1149 __ Move(r1, TMP); in EmitSwap()
1163 __ Mfc1(TMP, f1); in EmitSwap()
1167 __ Move(r2_l, TMP); in EmitSwap()
1179 __ Move(TMP, reg); in EmitSwap()
1181 __ StoreToOffset(kStoreWord, TMP, SP, offset); in EmitSwap()
1191 __ Move(TMP, reg_l); in EmitSwap()
1193 __ StoreToOffset(kStoreWord, TMP, SP, offset_l); in EmitSwap()
1194 __ Move(TMP, reg_h); in EmitSwap()
1196 __ StoreToOffset(kStoreWord, TMP, SP, offset_h); in EmitSwap()
1235 ScratchRegisterScope ensure_scratch(this, TMP, V0, codegen_->GetNumberOfCoreRegisters()); in Exchange()
1244 TMP, in Exchange()
1251 __ StoreToOffset(kStoreWord, TMP, SP, index1 + stack_offset); in Exchange()
1292 __ Lhu(TMP, kMethodRegisterArgument, ArtMethod::HotnessCountOffset().Int32Value()); in GenerateFrameEntry()
1293 __ Addiu(TMP, TMP, 1); in GenerateFrameEntry()
1294 __ Sh(TMP, kMethodRegisterArgument, ArtMethod::HotnessCountOffset().Int32Value()); in GenerateFrameEntry()
1502 __ LoadFromOffset(kLoadWord, TMP, SP, source.GetStackIndex()); in MoveLocation()
1503 __ StoreToOffset(kStoreWord, TMP, SP, dst_offset); in MoveLocation()
1504 __ LoadFromOffset(kLoadWord, TMP, SP, source.GetStackIndex() + 4); in MoveLocation()
1505 __ StoreToOffset(kStoreWord, TMP, SP, dst_offset + 4); in MoveLocation()
1516 __ LoadFromOffset(kLoadWord, TMP, SP, source.GetStackIndex()); in MoveLocation()
1517 __ StoreToOffset(kStoreWord, TMP, SP, dst_offset); in MoveLocation()
1533 __ StoreConstToOffset(kStoreWord, value, SP, destination.GetStackIndex(), TMP); in MoveConstant()
1545 __ StoreConstToOffset(kStoreDoubleword, value, SP, destination.GetStackIndex(), TMP); in MoveConstant()
1551 __ LoadSConst32(destination.AsFpuRegister<FRegister>(), value, TMP); in MoveConstant()
1555 __ StoreConstToOffset(kStoreWord, value, SP, destination.GetStackIndex(), TMP); in MoveConstant()
1563 __ LoadDConst64(fd, value, TMP); in MoveConstant()
1567 __ StoreConstToOffset(kStoreDoubleword, value, SP, destination.GetStackIndex(), TMP); in MoveConstant()
1767 EmitPcRelativeAddressPlaceholderHigh(info_high, TMP, /* base= */ ZERO); in LoadBootImageAddress()
1768 __ Addiu(reg, TMP, /* imm16= */ 0x5678, &info_low->label); in LoadBootImageAddress()
1867 Register temp = TMP; in MarkGCCard()
1910 blocked_core_registers_[TMP] = true; in SetupBlockedRegisters()
2026 __ LoadFromOffset(kLoadUnsignedByte, TMP, class_reg, status_byte_offset); in GenerateClassInitializationCheck()
2027 __ Sltiu(TMP, TMP, shifted_initialized_value); in GenerateClassInitializationCheck()
2028 __ Bnez(TMP, slow_path->GetEntryLabel()); in GenerateClassInitializationCheck()
2054 __ LoadConst32(TMP, path_to_root); in GenerateBitstringTypeCheckCompare()
2055 __ Xor(temp, temp, TMP); in GenerateBitstringTypeCheckCompare()
2084 TMP, in GenerateSuspendCheck()
2088 __ Bnez(TMP, slow_path->GetEntryLabel()); in GenerateSuspendCheck()
2091 __ Beqz(TMP, codegen_->GetLabelOf(successor)); in GenerateSuspendCheck()
2250 __ Slt(TMP, lhs_low, ZERO); in HandleBinaryOp()
2255 __ Sltu(TMP, dst_low, (dst_low == rhs_low) ? lhs_low : rhs_low); in HandleBinaryOp()
2258 __ Addu(dst_high, dst_high, TMP); in HandleBinaryOp()
2261 __ Sltu(TMP, lhs_low, rhs_low); in HandleBinaryOp()
2264 __ Subu(dst_high, dst_high, TMP); in HandleBinaryOp()
2276 __ LoadConst32(TMP, low); in HandleBinaryOp()
2277 __ Or(dst_low, lhs_low, TMP); in HandleBinaryOp()
2285 __ LoadConst32(TMP, high); in HandleBinaryOp()
2287 __ Or(dst_high, lhs_high, TMP); in HandleBinaryOp()
2297 __ LoadConst32(TMP, low); in HandleBinaryOp()
2298 __ Xor(dst_low, lhs_low, TMP); in HandleBinaryOp()
2306 __ LoadConst32(TMP, high); in HandleBinaryOp()
2308 __ Xor(dst_high, lhs_high, TMP); in HandleBinaryOp()
2316 __ LoadConst32(TMP, low); in HandleBinaryOp()
2317 __ And(dst_low, lhs_low, TMP); in HandleBinaryOp()
2325 __ LoadConst32(TMP, high); in HandleBinaryOp()
2327 __ And(dst_high, lhs_high, TMP); in HandleBinaryOp()
2347 __ LoadConst32(TMP, low); in HandleBinaryOp()
2348 __ Addu(dst_low, lhs_low, TMP); in HandleBinaryOp()
2349 __ Sltu(AT, dst_low, TMP); in HandleBinaryOp()
2357 __ LoadConst32(TMP, high); in HandleBinaryOp()
2359 __ Addu(dst_high, lhs_high, TMP); in HandleBinaryOp()
2453 __ Sll(TMP, lhs, (kMipsBitsPerWord - shift_value) & shift_mask); in HandleShift()
2455 __ Or(dst, dst, TMP); in HandleShift()
2469 __ Subu(TMP, ZERO, rhs_reg); in HandleShift()
2475 __ Sllv(TMP, lhs, TMP); in HandleShift()
2477 __ Or(dst, dst, TMP); in HandleShift()
2515 __ Srl(TMP, lhs_low, kMipsBitsPerWord - shift_value); in HandleShift()
2517 __ Or(dst_high, dst_high, TMP); in HandleShift()
2520 __ Sll(TMP, lhs_high, kMipsBitsPerWord - shift_value); in HandleShift()
2522 __ Or(dst_low, dst_low, TMP); in HandleShift()
2525 __ Sll(TMP, lhs_high, kMipsBitsPerWord - shift_value); in HandleShift()
2527 __ Or(dst_low, dst_low, TMP); in HandleShift()
2529 __ Srl(TMP, lhs_low, shift_value); in HandleShift()
2531 __ Or(dst_low, dst_low, TMP); in HandleShift()
2532 __ Srl(TMP, lhs_high, shift_value); in HandleShift()
2534 __ Or(dst_high, dst_high, TMP); in HandleShift()
2560 __ Sll(TMP, lhs_low, kMipsBitsPerWord - shift_value_high); in HandleShift()
2562 __ Or(dst_low, dst_low, TMP); in HandleShift()
2563 __ Sll(TMP, lhs_high, kMipsBitsPerWord - shift_value_high); in HandleShift()
2565 __ Or(dst_high, dst_high, TMP); in HandleShift()
2576 __ Srl(TMP, lhs_low, 1); in HandleShift()
2577 __ Srlv(TMP, TMP, AT); in HandleShift()
2579 __ Or(dst_high, dst_high, TMP); in HandleShift()
2580 __ Andi(TMP, rhs_reg, kMipsBitsPerWord); in HandleShift()
2582 __ Beqzc(TMP, &done, /* is_bare= */ true); in HandleShift()
2586 __ Movn(dst_high, dst_low, TMP); in HandleShift()
2587 __ Movn(dst_low, ZERO, TMP); in HandleShift()
2592 __ Sll(TMP, lhs_high, 1); in HandleShift()
2593 __ Sllv(TMP, TMP, AT); in HandleShift()
2595 __ Or(dst_low, dst_low, TMP); in HandleShift()
2596 __ Andi(TMP, rhs_reg, kMipsBitsPerWord); in HandleShift()
2598 __ Beqzc(TMP, &done, /* is_bare= */ true); in HandleShift()
2603 __ Movn(dst_low, dst_high, TMP); in HandleShift()
2604 __ Movn(dst_high, AT, TMP); in HandleShift()
2609 __ Sll(TMP, lhs_high, 1); in HandleShift()
2610 __ Sllv(TMP, TMP, AT); in HandleShift()
2612 __ Or(dst_low, dst_low, TMP); in HandleShift()
2613 __ Andi(TMP, rhs_reg, kMipsBitsPerWord); in HandleShift()
2615 __ Beqzc(TMP, &done, /* is_bare= */ true); in HandleShift()
2619 __ Movn(dst_low, dst_high, TMP); in HandleShift()
2620 __ Movn(dst_high, ZERO, TMP); in HandleShift()
2624 __ Srlv(TMP, lhs_low, rhs_reg); in HandleShift()
2627 __ Or(dst_low, dst_low, TMP); in HandleShift()
2628 __ Srlv(TMP, lhs_high, rhs_reg); in HandleShift()
2631 __ Or(dst_high, dst_high, TMP); in HandleShift()
2632 __ Andi(TMP, rhs_reg, kMipsBitsPerWord); in HandleShift()
2634 __ Beqzc(TMP, &done, /* is_bare= */ true); in HandleShift()
2635 __ Move(TMP, dst_high); in HandleShift()
2637 __ Move(dst_low, TMP); in HandleShift()
2639 __ Movn(AT, dst_high, TMP); in HandleShift()
2640 __ Movn(dst_high, dst_low, TMP); in HandleShift()
2641 __ Movn(dst_low, AT, TMP); in HandleShift()
2735 __ Addu(TMP, obj, index.AsRegister<Register>()); in VisitArrayGet()
2736 __ LoadFromOffset(kLoadUnsignedByte, out, TMP, data_offset, null_checker); in VisitArrayGet()
2748 __ Addu(TMP, obj, index.AsRegister<Register>()); in VisitArrayGet()
2749 __ LoadFromOffset(kLoadSignedByte, out, TMP, data_offset, null_checker); in VisitArrayGet()
2758 __ LoadFromOffset(kLoadWord, TMP, obj, count_offset, null_checker); in VisitArrayGet()
2759 __ Sll(TMP, TMP, 31); // Extract compression flag into the most significant bit of TMP. in VisitArrayGet()
2767 __ Bnez(TMP, &uncompressed_load); in VisitArrayGet()
2790 __ Bnez(TMP, &uncompressed_load); in VisitArrayGet()
2791 __ Addu(TMP, obj, index_reg); in VisitArrayGet()
2792 __ LoadFromOffset(kLoadUnsignedByte, out, TMP, data_offset); in VisitArrayGet()
2795 __ ShiftAndAdd(TMP, index_reg, obj, TIMES_2, TMP); in VisitArrayGet()
2796 __ LoadFromOffset(kLoadUnsignedHalfword, out, TMP, data_offset); in VisitArrayGet()
2799 __ Addu(TMP, index_reg, obj); in VisitArrayGet()
2800 __ LoadFromOffset(kLoadUnsignedHalfword, out, TMP, data_offset, null_checker); in VisitArrayGet()
2802 __ ShiftAndAdd(TMP, index_reg, obj, TIMES_2, TMP); in VisitArrayGet()
2803 __ LoadFromOffset(kLoadUnsignedHalfword, out, TMP, data_offset, null_checker); in VisitArrayGet()
2816 __ Addu(TMP, index.AsRegister<Register>(), obj); in VisitArrayGet()
2817 __ LoadFromOffset(kLoadSignedHalfword, out, TMP, data_offset, null_checker); in VisitArrayGet()
2819 __ ShiftAndAdd(TMP, index.AsRegister<Register>(), obj, TIMES_2, TMP); in VisitArrayGet()
2820 __ LoadFromOffset(kLoadSignedHalfword, out, TMP, data_offset, null_checker); in VisitArrayGet()
2833 __ Addu(TMP, index.AsRegister<Register>(), obj); in VisitArrayGet()
2834 __ LoadFromOffset(kLoadWord, out, TMP, data_offset, null_checker); in VisitArrayGet()
2836 __ ShiftAndAdd(TMP, index.AsRegister<Register>(), obj, TIMES_4, TMP); in VisitArrayGet()
2837 __ LoadFromOffset(kLoadWord, out, TMP, data_offset, null_checker); in VisitArrayGet()
2886 __ ShiftAndAdd(TMP, index.AsRegister<Register>(), obj, TIMES_4, TMP); in VisitArrayGet()
2887 __ LoadFromOffset(kLoadWord, out, TMP, data_offset, null_checker); in VisitArrayGet()
2909 __ Addu(TMP, index.AsRegister<Register>(), obj); in VisitArrayGet()
2910 __ LoadFromOffset(kLoadDoubleword, out, TMP, data_offset, null_checker); in VisitArrayGet()
2912 __ ShiftAndAdd(TMP, index.AsRegister<Register>(), obj, TIMES_8, TMP); in VisitArrayGet()
2913 __ LoadFromOffset(kLoadDoubleword, out, TMP, data_offset, null_checker); in VisitArrayGet()
2925 __ Addu(TMP, index.AsRegister<Register>(), obj); in VisitArrayGet()
2926 __ LoadSFromOffset(out, TMP, data_offset, null_checker); in VisitArrayGet()
2928 __ ShiftAndAdd(TMP, index.AsRegister<Register>(), obj, TIMES_4, TMP); in VisitArrayGet()
2929 __ LoadSFromOffset(out, TMP, data_offset, null_checker); in VisitArrayGet()
2941 __ Addu(TMP, index.AsRegister<Register>(), obj); in VisitArrayGet()
2942 __ LoadDFromOffset(out, TMP, data_offset, null_checker); in VisitArrayGet()
2944 __ ShiftAndAdd(TMP, index.AsRegister<Register>(), obj, TIMES_8, TMP); in VisitArrayGet()
2945 __ LoadDFromOffset(out, TMP, data_offset, null_checker); in VisitArrayGet()
3032 Register base_reg = index.IsConstant() ? obj : TMP; in VisitArraySet()
3046 __ StoreConstToOffset(kStoreByte, value, base_reg, data_offset, TMP, null_checker); in VisitArraySet()
3066 __ StoreConstToOffset(kStoreHalfword, value, base_reg, data_offset, TMP, null_checker); in VisitArraySet()
3085 __ StoreConstToOffset(kStoreWord, value, base_reg, data_offset, TMP, null_checker); in VisitArraySet()
3104 __ StoreConstToOffset(kStoreWord, value, base_reg, data_offset, TMP, null_checker); in VisitArraySet()
3113 Register temp2 = TMP; // Doesn't need to survive slow path. in VisitArraySet()
3221 __ StoreConstToOffset(kStoreDoubleword, value, base_reg, data_offset, TMP, null_checker); in VisitArraySet()
3240 __ StoreConstToOffset(kStoreWord, value, base_reg, data_offset, TMP, null_checker); in VisitArraySet()
3259 __ StoreConstToOffset(kStoreDoubleword, value, base_reg, data_offset, TMP, null_checker); in VisitArraySet()
3363 __ Sltiu(TMP, index, length); in VisitBoundsCheck()
3364 __ Beqz(TMP, slow_path->GetEntryLabel()); in VisitBoundsCheck()
3379 __ Sltiu(TMP, length, index + 1); in VisitBoundsCheck()
3380 __ Bnez(TMP, slow_path->GetEntryLabel()); in VisitBoundsCheck()
3579 __ Lw(TMP, temp, array_length_offset); in VisitCheckCast()
3584 __ Beqz(TMP, slow_path->GetEntryLabel()); in VisitCheckCast()
3588 __ Addiu(TMP, TMP, -2); in VisitCheckCast()
3688 __ Slt(TMP, lhs, rhs); in VisitCompare()
3690 __ Subu(res, res, TMP); in VisitCompare()
3700 __ Slt(TMP, lhs_high, rhs_high); in VisitCompare()
3702 __ Subu(res, AT, TMP); // Result -1:1:0 for [ <, >, == ]. in VisitCompare()
3704 __ Sltu(TMP, lhs_low, rhs_low); in VisitCompare()
3706 __ Subu(res, AT, TMP); // Result -1:1:0 for [ <, >, == ]. in VisitCompare()
3907 __ Srl(TMP, dividend, 31); in DivRemByPowerOfTwo()
3909 __ Sra(TMP, dividend, 31); in DivRemByPowerOfTwo()
3910 __ Srl(TMP, TMP, 32 - ctz_imm); in DivRemByPowerOfTwo()
3912 __ Addu(out, dividend, TMP); in DivRemByPowerOfTwo()
3920 __ Sra(TMP, dividend, 31); in DivRemByPowerOfTwo()
3921 __ Subu(out, dividend, TMP); in DivRemByPowerOfTwo()
3923 __ Addu(out, out, TMP); in DivRemByPowerOfTwo()
3925 __ Sra(TMP, dividend, 31); in DivRemByPowerOfTwo()
3926 __ Srl(TMP, TMP, 32 - ctz_imm); in DivRemByPowerOfTwo()
3927 __ Addu(out, dividend, TMP); in DivRemByPowerOfTwo()
3938 __ Subu(out, out, TMP); in DivRemByPowerOfTwo()
3960 __ Sltu(TMP, AT, in_low); in DivRemByPowerOfTwo()
3961 __ Addu(out_high, in_high, TMP); in DivRemByPowerOfTwo()
3983 __ Srl(TMP, out_low, 31); in DivRemByPowerOfTwo()
3986 __ Subu(out_high, TMP, AT); in DivRemByPowerOfTwo()
3992 __ Srl(TMP, AT, 64 - ctz_imm); in DivRemByPowerOfTwo()
3996 __ Addu(out_low, out_low, TMP); in DivRemByPowerOfTwo()
4017 __ Sll(TMP, in_low, 31); in DivRemByPowerOfTwo()
4018 __ And(TMP, in_high, TMP); in DivRemByPowerOfTwo()
4019 __ Sra(out_high, TMP, 31); in DivRemByPowerOfTwo()
4054 __ Move(TMP, in_low); in DivRemByPowerOfTwo()
4063 __ Move(out_low, TMP); in DivRemByPowerOfTwo()
4064 __ Or(TMP, TMP, out_high); in DivRemByPowerOfTwo()
4066 __ Selnez(AT, AT, TMP); in DivRemByPowerOfTwo()
4068 __ Movz(AT, ZERO, TMP); in DivRemByPowerOfTwo()
4111 __ LoadConst32(TMP, magic); in GenerateDivRemWithAnyConstant()
4113 __ MuhR6(TMP, dividend, TMP); in GenerateDivRemWithAnyConstant()
4115 __ MultR2(dividend, TMP); in GenerateDivRemWithAnyConstant()
4116 __ Mfhi(TMP); in GenerateDivRemWithAnyConstant()
4119 __ Addu(TMP, TMP, dividend); in GenerateDivRemWithAnyConstant()
4121 __ Subu(TMP, TMP, dividend); in GenerateDivRemWithAnyConstant()
4125 __ Sra(TMP, TMP, shift); in GenerateDivRemWithAnyConstant()
4129 __ Sra(out, TMP, 31); in GenerateDivRemWithAnyConstant()
4130 __ Subu(out, TMP, out); in GenerateDivRemWithAnyConstant()
4132 __ Sra(AT, TMP, 31); in GenerateDivRemWithAnyConstant()
4133 __ Subu(AT, TMP, AT); in GenerateDivRemWithAnyConstant()
4134 __ LoadConst32(TMP, imm); in GenerateDivRemWithAnyConstant()
4136 __ MulR6(TMP, AT, TMP); in GenerateDivRemWithAnyConstant()
4138 __ MulR2(TMP, AT, TMP); in GenerateDivRemWithAnyConstant()
4140 __ Subu(out, dividend, TMP); in GenerateDivRemWithAnyConstant()
4320 __ Or(TMP, value.AsRegisterPairHigh<Register>(), value.AsRegisterPairLow<Register>()); in VisitDivZeroCheck()
4321 __ Beqz(TMP, slow_path->GetEntryLabel()); in VisitDivZeroCheck()
4374 __ Lhu(TMP, AT, ArtMethod::HotnessCountOffset().Int32Value()); in HandleGoto()
4375 __ Addiu(TMP, TMP, 1); in HandleGoto()
4376 __ Sh(TMP, AT, ArtMethod::HotnessCountOffset().Int32Value()); in HandleGoto()
4441 rhs_reg = TMP; in GenerateIntCompare()
4460 rhs_reg = TMP; in GenerateIntCompare()
4484 rhs_reg = TMP; in GenerateIntCompare()
4506 rhs_reg = TMP; in GenerateIntCompare()
4536 rhs_reg = TMP; in GenerateIntCompare()
4573 rhs_reg = TMP; in MaterializeIntCompare()
4586 rhs_reg = TMP; in MaterializeIntCompare()
4601 rhs_reg = TMP; in MaterializeIntCompare()
4618 rhs_reg = TMP; in MaterializeIntCompare()
4639 rhs_reg = TMP; in MaterializeIntCompare()
4694 rhs_reg = TMP; in GenerateIntCompareAndBranch()
4733 __ LoadConst32(TMP, rhs_imm); in GenerateIntCompareAndBranch()
4734 __ Beq(lhs, TMP, label); in GenerateIntCompareAndBranch()
4737 __ LoadConst32(TMP, rhs_imm); in GenerateIntCompareAndBranch()
4738 __ Bne(lhs, TMP, label); in GenerateIntCompareAndBranch()
4742 __ Slti(TMP, lhs, rhs_imm); in GenerateIntCompareAndBranch()
4743 __ Bnez(TMP, label); in GenerateIntCompareAndBranch()
4745 __ LoadConst32(TMP, rhs_imm); in GenerateIntCompareAndBranch()
4746 __ Blt(lhs, TMP, label); in GenerateIntCompareAndBranch()
4751 __ Slti(TMP, lhs, rhs_imm); in GenerateIntCompareAndBranch()
4752 __ Beqz(TMP, label); in GenerateIntCompareAndBranch()
4754 __ LoadConst32(TMP, rhs_imm); in GenerateIntCompareAndBranch()
4755 __ Bge(lhs, TMP, label); in GenerateIntCompareAndBranch()
4761 __ Slti(TMP, lhs, rhs_imm + 1); in GenerateIntCompareAndBranch()
4762 __ Bnez(TMP, label); in GenerateIntCompareAndBranch()
4764 __ LoadConst32(TMP, rhs_imm); in GenerateIntCompareAndBranch()
4765 __ Bge(TMP, lhs, label); in GenerateIntCompareAndBranch()
4771 __ Slti(TMP, lhs, rhs_imm + 1); in GenerateIntCompareAndBranch()
4772 __ Beqz(TMP, label); in GenerateIntCompareAndBranch()
4774 __ LoadConst32(TMP, rhs_imm); in GenerateIntCompareAndBranch()
4775 __ Blt(TMP, lhs, label); in GenerateIntCompareAndBranch()
4780 __ Sltiu(TMP, lhs, rhs_imm); in GenerateIntCompareAndBranch()
4781 __ Bnez(TMP, label); in GenerateIntCompareAndBranch()
4783 __ LoadConst32(TMP, rhs_imm); in GenerateIntCompareAndBranch()
4784 __ Bltu(lhs, TMP, label); in GenerateIntCompareAndBranch()
4789 __ Sltiu(TMP, lhs, rhs_imm); in GenerateIntCompareAndBranch()
4790 __ Beqz(TMP, label); in GenerateIntCompareAndBranch()
4792 __ LoadConst32(TMP, rhs_imm); in GenerateIntCompareAndBranch()
4793 __ Bgeu(lhs, TMP, label); in GenerateIntCompareAndBranch()
4801 __ Sltiu(TMP, lhs, rhs_imm + 1); in GenerateIntCompareAndBranch()
4802 __ Bnez(TMP, label); in GenerateIntCompareAndBranch()
4804 __ LoadConst32(TMP, rhs_imm); in GenerateIntCompareAndBranch()
4805 __ Bgeu(TMP, lhs, label); in GenerateIntCompareAndBranch()
4813 __ Sltiu(TMP, lhs, rhs_imm + 1); in GenerateIntCompareAndBranch()
4814 __ Beqz(TMP, label); in GenerateIntCompareAndBranch()
4816 __ LoadConst32(TMP, rhs_imm); in GenerateIntCompareAndBranch()
4817 __ Bltu(TMP, lhs, label); in GenerateIntCompareAndBranch()
4865 __ Or(TMP, lhs_high, lhs_low); in GenerateLongCompare()
4867 __ Sltu(dst, AT, TMP); in GenerateLongCompare()
4871 __ Or(TMP, lhs_high, lhs_low); in GenerateLongCompare()
4873 __ Sltu(dst, AT, TMP); in GenerateLongCompare()
4886 __ LoadConst32(TMP, imm_high); in GenerateLongCompare()
4887 __ Xor(TMP, TMP, lhs_high); in GenerateLongCompare()
4890 __ Or(dst, TMP, AT); in GenerateLongCompare()
4894 __ LoadConst32(TMP, imm_high); in GenerateLongCompare()
4895 __ Xor(TMP, TMP, lhs_high); in GenerateLongCompare()
4898 __ Or(dst, TMP, AT); in GenerateLongCompare()
4904 __ LoadConst32(TMP, imm_low); in GenerateLongCompare()
4905 __ Sltu(dst, lhs_low, TMP); in GenerateLongCompare()
4907 __ LoadConst32(TMP, imm_high); in GenerateLongCompare()
4908 __ Slt(AT, lhs_high, TMP); in GenerateLongCompare()
4909 __ Slt(TMP, TMP, lhs_high); in GenerateLongCompare()
4914 __ Slt(dst, TMP, dst); in GenerateLongCompare()
4923 __ LoadConst32(TMP, imm_low); in GenerateLongCompare()
4924 __ Sltu(dst, TMP, lhs_low); in GenerateLongCompare()
4926 __ LoadConst32(TMP, imm_high); in GenerateLongCompare()
4927 __ Slt(AT, TMP, lhs_high); in GenerateLongCompare()
4928 __ Slt(TMP, lhs_high, TMP); in GenerateLongCompare()
4933 __ Slt(dst, TMP, dst); in GenerateLongCompare()
4942 __ LoadConst32(TMP, imm_low); in GenerateLongCompare()
4943 __ Sltu(dst, lhs_low, TMP); in GenerateLongCompare()
4945 __ LoadConst32(TMP, imm_high); in GenerateLongCompare()
4946 __ Sltu(AT, lhs_high, TMP); in GenerateLongCompare()
4947 __ Sltu(TMP, TMP, lhs_high); in GenerateLongCompare()
4952 __ Slt(dst, TMP, dst); in GenerateLongCompare()
4961 __ LoadConst32(TMP, imm_low); in GenerateLongCompare()
4962 __ Sltu(dst, TMP, lhs_low); in GenerateLongCompare()
4964 __ LoadConst32(TMP, imm_high); in GenerateLongCompare()
4965 __ Sltu(AT, TMP, lhs_high); in GenerateLongCompare()
4966 __ Sltu(TMP, lhs_high, TMP); in GenerateLongCompare()
4971 __ Slt(dst, TMP, dst); in GenerateLongCompare()
4981 __ Xor(TMP, lhs_high, rhs_high); in GenerateLongCompare()
4983 __ Or(dst, TMP, AT); in GenerateLongCompare()
4987 __ Xor(TMP, lhs_high, rhs_high); in GenerateLongCompare()
4989 __ Or(dst, TMP, AT); in GenerateLongCompare()
4994 __ Slt(TMP, rhs_high, lhs_high); in GenerateLongCompare()
4996 __ Slt(TMP, TMP, AT); in GenerateLongCompare()
4998 __ Or(dst, AT, TMP); in GenerateLongCompare()
5005 __ Slt(TMP, lhs_high, rhs_high); in GenerateLongCompare()
5007 __ Slt(TMP, TMP, AT); in GenerateLongCompare()
5009 __ Or(dst, AT, TMP); in GenerateLongCompare()
5016 __ Sltu(TMP, rhs_high, lhs_high); in GenerateLongCompare()
5018 __ Slt(TMP, TMP, AT); in GenerateLongCompare()
5020 __ Or(dst, AT, TMP); in GenerateLongCompare()
5027 __ Sltu(TMP, lhs_high, rhs_high); in GenerateLongCompare()
5029 __ Slt(TMP, TMP, AT); in GenerateLongCompare()
5031 __ Or(dst, AT, TMP); in GenerateLongCompare()
5065 __ Or(TMP, lhs_high, lhs_low); in GenerateLongCompareAndBranch()
5066 __ Beqz(TMP, label); in GenerateLongCompareAndBranch()
5070 __ Or(TMP, lhs_high, lhs_low); in GenerateLongCompareAndBranch()
5071 __ Bnez(TMP, label); in GenerateLongCompareAndBranch()
5080 __ Or(TMP, lhs_high, lhs_low); in GenerateLongCompareAndBranch()
5082 __ Bgeu(AT, TMP, label); in GenerateLongCompareAndBranch()
5085 __ Or(TMP, lhs_high, lhs_low); in GenerateLongCompareAndBranch()
5087 __ Bltu(AT, TMP, label); in GenerateLongCompareAndBranch()
5099 __ LoadConst32(TMP, imm_high); in GenerateLongCompareAndBranch()
5100 __ Xor(TMP, TMP, lhs_high); in GenerateLongCompareAndBranch()
5103 __ Or(TMP, TMP, AT); in GenerateLongCompareAndBranch()
5104 __ Beqz(TMP, label); in GenerateLongCompareAndBranch()
5107 __ LoadConst32(TMP, imm_high); in GenerateLongCompareAndBranch()
5108 __ Xor(TMP, TMP, lhs_high); in GenerateLongCompareAndBranch()
5111 __ Or(TMP, TMP, AT); in GenerateLongCompareAndBranch()
5112 __ Bnez(TMP, label); in GenerateLongCompareAndBranch()
5115 __ LoadConst32(TMP, imm_high); in GenerateLongCompareAndBranch()
5116 __ Blt(lhs_high, TMP, label); in GenerateLongCompareAndBranch()
5117 __ Slt(TMP, TMP, lhs_high); in GenerateLongCompareAndBranch()
5120 __ Blt(TMP, AT, label); in GenerateLongCompareAndBranch()
5123 __ LoadConst32(TMP, imm_high); in GenerateLongCompareAndBranch()
5124 __ Blt(TMP, lhs_high, label); in GenerateLongCompareAndBranch()
5125 __ Slt(TMP, lhs_high, TMP); in GenerateLongCompareAndBranch()
5128 __ Or(TMP, TMP, AT); in GenerateLongCompareAndBranch()
5129 __ Beqz(TMP, label); in GenerateLongCompareAndBranch()
5132 __ LoadConst32(TMP, imm_high); in GenerateLongCompareAndBranch()
5133 __ Blt(lhs_high, TMP, label); in GenerateLongCompareAndBranch()
5134 __ Slt(TMP, TMP, lhs_high); in GenerateLongCompareAndBranch()
5137 __ Or(TMP, TMP, AT); in GenerateLongCompareAndBranch()
5138 __ Beqz(TMP, label); in GenerateLongCompareAndBranch()
5141 __ LoadConst32(TMP, imm_high); in GenerateLongCompareAndBranch()
5142 __ Blt(TMP, lhs_high, label); in GenerateLongCompareAndBranch()
5143 __ Slt(TMP, lhs_high, TMP); in GenerateLongCompareAndBranch()
5146 __ Blt(TMP, AT, label); in GenerateLongCompareAndBranch()
5149 __ LoadConst32(TMP, imm_high); in GenerateLongCompareAndBranch()
5150 __ Bltu(lhs_high, TMP, label); in GenerateLongCompareAndBranch()
5151 __ Sltu(TMP, TMP, lhs_high); in GenerateLongCompareAndBranch()
5154 __ Blt(TMP, AT, label); in GenerateLongCompareAndBranch()
5157 __ LoadConst32(TMP, imm_high); in GenerateLongCompareAndBranch()
5158 __ Bltu(TMP, lhs_high, label); in GenerateLongCompareAndBranch()
5159 __ Sltu(TMP, lhs_high, TMP); in GenerateLongCompareAndBranch()
5162 __ Or(TMP, TMP, AT); in GenerateLongCompareAndBranch()
5163 __ Beqz(TMP, label); in GenerateLongCompareAndBranch()
5166 __ LoadConst32(TMP, imm_high); in GenerateLongCompareAndBranch()
5167 __ Bltu(lhs_high, TMP, label); in GenerateLongCompareAndBranch()
5168 __ Sltu(TMP, TMP, lhs_high); in GenerateLongCompareAndBranch()
5171 __ Or(TMP, TMP, AT); in GenerateLongCompareAndBranch()
5172 __ Beqz(TMP, label); in GenerateLongCompareAndBranch()
5175 __ LoadConst32(TMP, imm_high); in GenerateLongCompareAndBranch()
5176 __ Bltu(TMP, lhs_high, label); in GenerateLongCompareAndBranch()
5177 __ Sltu(TMP, lhs_high, TMP); in GenerateLongCompareAndBranch()
5180 __ Blt(TMP, AT, label); in GenerateLongCompareAndBranch()
5186 __ Xor(TMP, lhs_high, rhs_high); in GenerateLongCompareAndBranch()
5188 __ Or(TMP, TMP, AT); in GenerateLongCompareAndBranch()
5189 __ Beqz(TMP, label); in GenerateLongCompareAndBranch()
5192 __ Xor(TMP, lhs_high, rhs_high); in GenerateLongCompareAndBranch()
5194 __ Or(TMP, TMP, AT); in GenerateLongCompareAndBranch()
5195 __ Bnez(TMP, label); in GenerateLongCompareAndBranch()
5199 __ Slt(TMP, rhs_high, lhs_high); in GenerateLongCompareAndBranch()
5201 __ Blt(TMP, AT, label); in GenerateLongCompareAndBranch()
5205 __ Slt(TMP, lhs_high, rhs_high); in GenerateLongCompareAndBranch()
5207 __ Or(TMP, TMP, AT); in GenerateLongCompareAndBranch()
5208 __ Beqz(TMP, label); in GenerateLongCompareAndBranch()
5212 __ Slt(TMP, rhs_high, lhs_high); in GenerateLongCompareAndBranch()
5214 __ Or(TMP, TMP, AT); in GenerateLongCompareAndBranch()
5215 __ Beqz(TMP, label); in GenerateLongCompareAndBranch()
5219 __ Slt(TMP, lhs_high, rhs_high); in GenerateLongCompareAndBranch()
5221 __ Blt(TMP, AT, label); in GenerateLongCompareAndBranch()
5225 __ Sltu(TMP, rhs_high, lhs_high); in GenerateLongCompareAndBranch()
5227 __ Blt(TMP, AT, label); in GenerateLongCompareAndBranch()
5231 __ Sltu(TMP, lhs_high, rhs_high); in GenerateLongCompareAndBranch()
5233 __ Or(TMP, TMP, AT); in GenerateLongCompareAndBranch()
5234 __ Beqz(TMP, label); in GenerateLongCompareAndBranch()
5238 __ Sltu(TMP, rhs_high, lhs_high); in GenerateLongCompareAndBranch()
5240 __ Or(TMP, TMP, AT); in GenerateLongCompareAndBranch()
5241 __ Beqz(TMP, label); in GenerateLongCompareAndBranch()
5245 __ Sltu(TMP, lhs_high, rhs_high); in GenerateLongCompareAndBranch()
5247 __ Blt(TMP, AT, label); in GenerateLongCompareAndBranch()
6220 Register cond_reg = TMP; in GenConditionalMoveR2()
6341 Register cond_reg = TMP; in GenConditionalMoveR6()
6398 __ Selnez(TMP, false_src.AsRegister<Register>(), cond_reg); in GenConditionalMoveR6()
6401 __ Seleqz(TMP, false_src.AsRegister<Register>(), cond_reg); in GenConditionalMoveR6()
6403 __ Or(dst.AsRegister<Register>(), AT, TMP); in GenConditionalMoveR6()
6439 __ Sltu(TMP, ZERO, cond_reg); in GenConditionalMoveR6()
6440 __ Mtc1(TMP, fcond_reg); in GenConditionalMoveR6()
6474 __ Sltu(TMP, ZERO, cond_reg); in GenConditionalMoveR6()
6475 __ Mtc1(TMP, fcond_reg); in GenConditionalMoveR6()
6855 __ StoreConstToOffset(store_type, value, obj, offset, TMP, null_checker); in HandleFieldSet()
6868 __ PoisonHeapReference(TMP, src); in HandleFieldSet()
6869 __ StoreToOffset(store_type, TMP, obj, offset, null_checker); in HandleFieldSet()
7054 Register base = short_offset ? obj : TMP; in GenerateGcRootFieldLoad()
7215 Register base = short_offset ? obj : TMP; in GenerateFieldLoadWithBakerReadBarrier()
7325 __ Lsa(TMP, index_reg, obj, scale_factor); // In delay slot. in GenerateArrayLoadWithBakerReadBarrier()
7329 __ Sll(TMP, index_reg, scale_factor); in GenerateArrayLoadWithBakerReadBarrier()
7334 __ Addu(TMP, TMP, obj); // In delay slot. in GenerateArrayLoadWithBakerReadBarrier()
7338 __ LoadFromOffset(kLoadWord, ref_reg, TMP, data_offset); // Single instruction. in GenerateArrayLoadWithBakerReadBarrier()
7420 __ ShiftAndAdd(TMP, index_reg, obj, scale_factor, TMP); in GenerateReferenceLoadWithBakerReadBarrier()
7421 __ LoadFromOffset(kLoadWord, ref_reg, TMP, offset); in GenerateReferenceLoadWithBakerReadBarrier()
8003 EmitPcRelativeAddressPlaceholderHigh(info_high, TMP, base_reg); in GenerateStaticOrDirectCall()
8004 __ Addiu(temp_reg, TMP, /* imm16= */ 0x5678, &info_low->label); in GenerateStaticOrDirectCall()
8012 EmitPcRelativeAddressPlaceholderHigh(info_high, TMP, base_reg); in GenerateStaticOrDirectCall()
8013 __ Lw(temp_reg, TMP, /* imm16= */ 0x5678, &info_low->label); in GenerateStaticOrDirectCall()
8022 EmitPcRelativeAddressPlaceholderHigh(info_high, TMP, base_reg); in GenerateStaticOrDirectCall()
8023 __ Lw(temp_reg, TMP, /* imm16= */ 0x5678, &info_low->label); in GenerateStaticOrDirectCall()
8601 __ MulR6(TMP, lhs_high, rhs_low); in VisitMul()
8603 __ Addu(dst_high, dst_high, TMP); in VisitMul()
8604 __ MuhuR6(TMP, lhs_low, rhs_low); in VisitMul()
8605 __ Addu(dst_high, dst_high, TMP); in VisitMul()
8608 __ MulR2(TMP, lhs_high, rhs_low); in VisitMul()
8610 __ Addu(dst_high, dst_high, TMP); in VisitMul()
8612 __ Mfhi(TMP); in VisitMul()
8613 __ Addu(dst_high, dst_high, TMP); in VisitMul()
8673 __ Sltu(TMP, ZERO, dst_low); in VisitNeg()
8675 __ Subu(dst_high, dst_high, TMP); in VisitNeg()
9015 __ Slt(TMP, b_hi, a_hi); in GenerateMinMaxInt()
9018 __ Sltu(TMP, b_lo, a_lo); in GenerateMinMaxInt()
9023 __ Seleqz(AT, a_lo, TMP); in GenerateMinMaxInt()
9024 __ Selnez(out_lo, b_lo, TMP); // Safe even if out_lo == a_lo/b_lo in GenerateMinMaxInt()
9028 __ Selnez(AT, a_lo, TMP); in GenerateMinMaxInt()
9029 __ Seleqz(out_lo, b_lo, TMP); // ditto in GenerateMinMaxInt()
9033 __ Seleqz(AT, a_hi, TMP); in GenerateMinMaxInt()
9034 __ Selnez(out_hi, b_hi, TMP); // ditto but for out_hi & a_hi/b_hi in GenerateMinMaxInt()
9036 __ Selnez(AT, a_hi, TMP); in GenerateMinMaxInt()
9037 __ Seleqz(out_hi, b_hi, TMP); // ditto but for out_hi & a_hi/b_hi in GenerateMinMaxInt()
9054 __ Seleqz(TMP, a, AT); in GenerateMinMaxInt()
9057 __ Selnez(TMP, a, AT); in GenerateMinMaxInt()
9060 __ Or(out, TMP, AT); in GenerateMinMaxInt()
9080 __ Slt(TMP, a_hi, b_hi); in GenerateMinMaxInt()
9083 __ Sltu(TMP, a_lo, b_lo); in GenerateMinMaxInt()
9089 __ Movn(out_hi, a_hi, TMP); in GenerateMinMaxInt()
9090 __ Movn(out_lo, a_lo, TMP); in GenerateMinMaxInt()
9093 __ Movz(out_hi, b_hi, TMP); in GenerateMinMaxInt()
9094 __ Movz(out_lo, b_lo, TMP); in GenerateMinMaxInt()
9098 __ Movz(out_hi, a_hi, TMP); in GenerateMinMaxInt()
9099 __ Movz(out_lo, a_lo, TMP); in GenerateMinMaxInt()
9102 __ Movn(out_hi, b_hi, TMP); in GenerateMinMaxInt()
9103 __ Movn(out_lo, b_lo, TMP); in GenerateMinMaxInt()
9244 __ MoveFromFpuHigh(TMP, a); in GenerateMinMaxFP()
9247 __ Mfc1(TMP, a); in GenerateMinMaxFP()
9253 __ Or(TMP, TMP, AT); in GenerateMinMaxFP()
9256 __ And(TMP, TMP, AT); in GenerateMinMaxFP()
9262 __ MoveToFpuHigh(TMP, out); in GenerateMinMaxFP()
9264 __ Mtc1(TMP, out); in GenerateMinMaxFP()
9382 __ MoveFromFpuHigh(TMP, in); in GenerateAbsFP()
9385 __ Ins(TMP, ZERO, 31, 1); in GenerateAbsFP()
9387 __ Sll(TMP, TMP, 1); in GenerateAbsFP()
9388 __ Srl(TMP, TMP, 1); in GenerateAbsFP()
9390 __ MoveToFpuHigh(TMP, out); in GenerateAbsFP()
9393 __ Mfc1(TMP, in); in GenerateAbsFP()
9396 __ Ins(TMP, ZERO, 31, 1); in GenerateAbsFP()
9398 __ Sll(TMP, TMP, 1); in GenerateAbsFP()
9399 __ Srl(TMP, TMP, 1); in GenerateAbsFP()
9401 __ Mtc1(TMP, out); in GenerateAbsFP()
9429 __ Xor(TMP, in_lo, AT); in VisitAbs()
9432 __ Subu(out_lo, TMP, AT); in VisitAbs()
9433 __ Sltu(TMP, out_lo, TMP); in VisitAbs()
9434 __ Addu(out_hi, out_hi, TMP); in VisitAbs()
9835 __ LoadConst32(TMP, min_val); in VisitTypeConversion()
9836 __ Mtc1(TMP, FTMP); in VisitTypeConversion()
9839 __ LoadConst32(TMP, High32Bits(min_val)); in VisitTypeConversion()
9841 __ MoveToFpuHigh(TMP, FTMP); in VisitTypeConversion()
10017 Register temp_reg = TMP; in GenPackedSwitchWithCompares()
10062 __ Addiu32(TMP, value_reg, -lower_bound); in GenTableBasedPackedSwitch()
10064 __ Sltiu(AT, TMP, num_entries); in GenTableBasedPackedSwitch()
10068 __ Bgeu(TMP, AT, codegen_->GetLabelOf(default_block)); in GenTableBasedPackedSwitch()
10074 __ ShiftAndAdd(TMP, TMP, AT, 2, TMP); in GenTableBasedPackedSwitch()
10075 __ Lw(TMP, TMP, 0); in GenTableBasedPackedSwitch()
10078 __ Addu(TMP, TMP, AT); in GenTableBasedPackedSwitch()
10080 __ Jr(TMP); in GenTableBasedPackedSwitch()