Lines Matching refs:TMP
265 __ Sll(TMP, in, 24); in GenReverse()
266 __ Sra(TMP, TMP, 16); in GenReverse()
269 __ Or(out, out, TMP); in GenReverse()
281 __ Sll(TMP, in, 16); in GenReverse()
283 __ Or(out, out, TMP); in GenReverse()
286 __ And(TMP, out, AT); in GenReverse()
287 __ Sll(TMP, TMP, 8); in GenReverse()
290 __ Or(out, out, TMP); in GenReverse()
297 __ And(TMP, out, AT); in GenReverse()
298 __ Sll(TMP, TMP, 4); in GenReverse()
301 __ Or(out, TMP, out); in GenReverse()
303 __ And(TMP, out, AT); in GenReverse()
304 __ Sll(TMP, TMP, 2); in GenReverse()
307 __ Or(out, TMP, out); in GenReverse()
309 __ And(TMP, out, AT); in GenReverse()
310 __ Sll(TMP, TMP, 1); in GenReverse()
313 __ Or(out, TMP, out); in GenReverse()
324 __ Rotr(TMP, in_lo, 16); in GenReverse()
326 __ Wsbh(out_hi, TMP); in GenReverse()
333 __ Sll(TMP, in_lo, 16); in GenReverse()
335 __ Or(TMP, TMP, AT); // Hold in TMP until it's safe in GenReverse()
345 __ And(out_hi, TMP, AT); in GenReverse()
347 __ Srl(TMP, TMP, 8); in GenReverse()
348 __ And(TMP, TMP, AT); in GenReverse()
349 __ Or(out_hi, out_hi, TMP); in GenReverse()
351 __ And(TMP, out_lo, AT); // AT already holds the correct mask value in GenReverse()
352 __ Sll(TMP, TMP, 8); in GenReverse()
355 __ Or(out_lo, out_lo, TMP); in GenReverse()
363 __ And(TMP, out_hi, AT); in GenReverse()
364 __ Sll(TMP, TMP, 4); in GenReverse()
367 __ Or(out_hi, TMP, out_hi); in GenReverse()
368 __ And(TMP, out_lo, AT); in GenReverse()
369 __ Sll(TMP, TMP, 4); in GenReverse()
372 __ Or(out_lo, TMP, out_lo); in GenReverse()
374 __ And(TMP, out_hi, AT); in GenReverse()
375 __ Sll(TMP, TMP, 2); in GenReverse()
378 __ Or(out_hi, TMP, out_hi); in GenReverse()
379 __ And(TMP, out_lo, AT); in GenReverse()
380 __ Sll(TMP, TMP, 2); in GenReverse()
383 __ Or(out_lo, TMP, out_lo); in GenReverse()
385 __ And(TMP, out_hi, AT); in GenReverse()
386 __ Sll(TMP, TMP, 1); in GenReverse()
389 __ Or(out_hi, TMP, out_hi); in GenReverse()
390 __ And(TMP, out_lo, AT); in GenReverse()
391 __ Sll(TMP, TMP, 1); in GenReverse()
394 __ Or(out_lo, TMP, out_lo); in GenReverse()
453 __ ClzR6(TMP, in_lo); in GenNumberOfLeadingZeroes()
454 __ Seleqz(TMP, TMP, in_hi); in GenNumberOfLeadingZeroes()
457 __ ClzR2(TMP, in_lo); in GenNumberOfLeadingZeroes()
458 __ Movn(TMP, ZERO, in_hi); in GenNumberOfLeadingZeroes()
460 __ Addu(out, AT, TMP); in GenNumberOfLeadingZeroes()
508 __ Selnez(TMP, in_lo, in_lo); in GenNumberOfTrailingZeroes()
509 __ Or(out, out, TMP); in GenNumberOfTrailingZeroes()
535 __ Addiu(TMP, in, -1); in GenNumberOfTrailingZeroes()
536 __ Xor(out, TMP, in); in GenNumberOfTrailingZeroes()
537 __ And(out, out, TMP); in GenNumberOfTrailingZeroes()
542 __ LoadConst32(TMP, 32); in GenNumberOfTrailingZeroes()
543 __ Subu(out, TMP, out); in GenNumberOfTrailingZeroes()
549 __ LoadConst32(TMP, 32); in GenNumberOfTrailingZeroes()
551 __ Seleqz(TMP, TMP, in_lo); in GenNumberOfTrailingZeroes()
553 __ Movn(TMP, ZERO, in_lo); in GenNumberOfTrailingZeroes()
555 __ Addu(out, out, TMP); in GenNumberOfTrailingZeroes()
643 __ Srl(TMP, in, 1); in GenBitCount()
645 __ And(TMP, TMP, AT); in GenBitCount()
646 __ Subu(TMP, in, TMP); in GenBitCount()
648 __ And(out, TMP, AT); in GenBitCount()
649 __ Srl(TMP, TMP, 2); in GenBitCount()
650 __ And(TMP, TMP, AT); in GenBitCount()
651 __ Addu(TMP, out, TMP); in GenBitCount()
652 __ Srl(out, TMP, 4); in GenBitCount()
653 __ Addu(out, out, TMP); in GenBitCount()
656 __ LoadConst32(TMP, 0x01010101); in GenBitCount()
658 __ MulR6(out, out, TMP); in GenBitCount()
660 __ MulR2(out, out, TMP); in GenBitCount()
669 Register tmp_lo = TMP; in GenBitCount()
703 __ Addu(TMP, tmp_hi, tmp_lo); in GenBitCount()
705 __ Srl(out, TMP, 4); in GenBitCount()
707 __ And(TMP, TMP, AT); in GenBitCount()
708 __ Addu(out, out, TMP); in GenBitCount()
774 __ MoveFromFpuHigh(TMP, in); in MathAbsFP()
777 __ Ins(TMP, ZERO, 31, 1); in MathAbsFP()
779 __ Sll(TMP, TMP, 1); in MathAbsFP()
780 __ Srl(TMP, TMP, 1); in MathAbsFP()
782 __ MoveToFpuHigh(TMP, out); in MathAbsFP()
784 __ Mfc1(TMP, in); in MathAbsFP()
787 __ Ins(TMP, ZERO, 31, 1); in MathAbsFP()
789 __ Sll(TMP, TMP, 1); in MathAbsFP()
790 __ Srl(TMP, TMP, 1); in MathAbsFP()
792 __ Mtc1(TMP, out); in MathAbsFP()
827 __ Xor(TMP, in_lo, AT); in GenAbsInteger()
830 __ Subu(out_lo, TMP, AT); in GenAbsInteger()
831 __ Sltu(TMP, out_lo, TMP); in GenAbsInteger()
832 __ Addu(out_hi, out_hi, TMP); in GenAbsInteger()
966 __ MoveFromFpuHigh(TMP, a); in GenMinMaxFP()
969 __ Mfc1(TMP, a); in GenMinMaxFP()
975 __ Or(TMP, TMP, AT); in GenMinMaxFP()
978 __ And(TMP, TMP, AT); in GenMinMaxFP()
984 __ MoveToFpuHigh(TMP, out); in GenMinMaxFP()
986 __ Mtc1(TMP, out); in GenMinMaxFP()
1137 __ Slt(TMP, b_hi, a_hi); in GenMinMax()
1140 __ Sltu(TMP, b_lo, a_lo); in GenMinMax()
1145 __ Seleqz(AT, a_lo, TMP); in GenMinMax()
1146 __ Selnez(out_lo, b_lo, TMP); // Safe even if out_lo == a_lo/b_lo in GenMinMax()
1150 __ Selnez(AT, a_lo, TMP); in GenMinMax()
1151 __ Seleqz(out_lo, b_lo, TMP); // ditto in GenMinMax()
1155 __ Seleqz(AT, a_hi, TMP); in GenMinMax()
1156 __ Selnez(out_hi, b_hi, TMP); // ditto but for out_hi & a_hi/b_hi in GenMinMax()
1158 __ Selnez(AT, a_hi, TMP); in GenMinMax()
1159 __ Seleqz(out_hi, b_hi, TMP); // ditto but for out_hi & a_hi/b_hi in GenMinMax()
1176 __ Seleqz(TMP, a, AT); in GenMinMax()
1179 __ Selnez(TMP, a, AT); in GenMinMax()
1182 __ Or(out, TMP, AT); in GenMinMax()
1202 __ Slt(TMP, a_hi, b_hi); in GenMinMax()
1205 __ Sltu(TMP, a_lo, b_lo); in GenMinMax()
1211 __ Movn(out_hi, a_hi, TMP); in GenMinMax()
1212 __ Movn(out_lo, a_lo, TMP); in GenMinMax()
1215 __ Movz(out_hi, b_hi, TMP); in GenMinMax()
1216 __ Movz(out_lo, b_lo, TMP); in GenMinMax()
1220 __ Movz(out_hi, a_hi, TMP); in GenMinMax()
1221 __ Movz(out_lo, a_lo, TMP); in GenMinMax()
1224 __ Movn(out_hi, b_hi, TMP); in GenMinMax()
1225 __ Movn(out_lo, b_lo, TMP); in GenMinMax()
1562 __ Addu(TMP, base, offset_lo); in GenUnsafeGet()
1571 __ Lw(trg_lo, TMP, 0); in GenUnsafeGet()
1572 __ Lw(trg_hi, TMP, 4); in GenUnsafeGet()
1574 __ Lwr(trg_lo, TMP, 0); in GenUnsafeGet()
1575 __ Lwl(trg_lo, TMP, 3); in GenUnsafeGet()
1576 __ Lwr(trg_hi, TMP, 4); in GenUnsafeGet()
1577 __ Lwl(trg_hi, TMP, 7); in GenUnsafeGet()
1585 __ Lw(trg, TMP, 0); in GenUnsafeGet()
1587 __ Lwr(trg, TMP, 0); in GenUnsafeGet()
1588 __ Lwl(trg, TMP, 3); in GenUnsafeGet()
1614 __ Lw(trg, TMP, 0); in GenUnsafeGet()
1616 __ Lwr(trg, TMP, 0); in GenUnsafeGet()
1617 __ Lwl(trg, TMP, 3); in GenUnsafeGet()
1631 __ Lw(trg, TMP, 0); in GenUnsafeGet()
1633 __ Lwr(trg, TMP, 0); in GenUnsafeGet()
1634 __ Lwl(trg, TMP, 3); in GenUnsafeGet()
1723 __ Addu(TMP, base, offset_lo); in GenUnsafePut()
1736 __ Sw(value, TMP, 0); in GenUnsafePut()
1738 __ Swr(value, TMP, 0); in GenUnsafePut()
1739 __ Swl(value, TMP, 3); in GenUnsafePut()
1746 __ Sw(value_lo, TMP, 0); in GenUnsafePut()
1747 __ Sw(value_hi, TMP, 4); in GenUnsafePut()
1749 __ Swr(value_lo, TMP, 0); in GenUnsafePut()
1750 __ Swl(value_lo, TMP, 3); in GenUnsafePut()
1751 __ Swr(value_hi, TMP, 4); in GenUnsafePut()
1752 __ Swl(value_hi, TMP, 7); in GenUnsafePut()
1947 __ Addu(TMP, base, offset_lo); in GenCas()
1967 __ LlR6(out, TMP); in GenCas()
1969 __ LlR2(out, TMP); in GenCas()
1989 __ ScR6(out, TMP); in GenCas()
1991 __ ScR2(out, TMP); in GenCas()
2148 __ Move(TMP, str); in VisitStringEquals()
2171 __ Lw(out, TMP, value_offset); in VisitStringEquals()
2174 __ Addiu(TMP, TMP, 4); in VisitStringEquals()
2197 Register tmp_reg = start_at_zero ? locations->GetTemp(0).AsRegister<Register>() : TMP; in GenerateStringIndexOf()
2376 __ MoveFromFpuHigh(TMP, in); in GenIsInfinite()
2379 __ Mfc1(TMP, in); in GenIsInfinite()
2382 __ Xor(TMP, TMP, AT); in GenIsInfinite()
2384 __ Sll(TMP, TMP, 1); in GenIsInfinite()
2388 __ Or(TMP, TMP, AT); in GenIsInfinite()
2391 __ Sltiu(out, TMP, 1); in GenIsInfinite()
2426 __ ClzR6(TMP, in_hi); in GenHighestOneBit()
2428 __ ClzR2(TMP, in_hi); in GenHighestOneBit()
2431 __ Srlv(out_hi, AT, TMP); in GenHighestOneBit()
2434 __ ClzR6(TMP, in_lo); in GenHighestOneBit()
2436 __ ClzR2(TMP, in_lo); in GenHighestOneBit()
2438 __ Srlv(out_lo, AT, TMP); in GenHighestOneBit()
2450 __ ClzR6(TMP, in); in GenHighestOneBit()
2452 __ ClzR2(TMP, in); in GenHighestOneBit()
2455 __ Srlv(AT, AT, TMP); // Srlv shifts in the range of [0;31] bits (lower 5 bits of arg). in GenHighestOneBit()
2490 __ Subu(TMP, ZERO, in_lo); in GenLowestOneBit()
2491 __ And(out_lo, TMP, in_lo); in GenLowestOneBit()
2492 __ Subu(TMP, ZERO, in_hi); in GenLowestOneBit()
2493 __ And(out_hi, TMP, in_hi); in GenLowestOneBit()
2503 __ Subu(TMP, ZERO, in); in GenLowestOneBit()
2504 __ And(out, TMP, in); in GenLowestOneBit()
2558 __ Addiu(TMP, out, 1); in VisitMathRoundFloat()
2559 __ Aui(TMP, TMP, 0x8000); // TMP = out + 0x8000 0001 in VisitMathRoundFloat()
2563 __ Srl(TMP, TMP, 1); // TMP = 0 if out = Int.MIN_VALUE in VisitMathRoundFloat()
2565 __ Beqz(TMP, &done); in VisitMathRoundFloat()
2574 __ Mfc1(TMP, FTMP); in VisitMathRoundFloat()
2577 __ Subu(out, out, TMP); in VisitMathRoundFloat()
2620 __ LoadConst32(TMP, -1); in VisitMathRoundFloat()
2642 __ Movf(TMP, ZERO); in VisitMathRoundFloat()
2645 __ Subu(out, out, TMP); in VisitMathRoundFloat()
2706 __ LoadFromOffset(kLoadWord, TMP, srcObj, count_offset); in VisitStringGetCharsNoCheck()
2707 __ Sll(TMP, TMP, 31); in VisitStringGetCharsNoCheck()
2710 __ Bnez(TMP, &uncompressed_copy); in VisitStringGetCharsNoCheck()
2715 __ LoadFromOffset(kLoadUnsignedByte, TMP, srcPtr, value_offset); in VisitStringGetCharsNoCheck()
2716 __ StoreToOffset(kStoreHalfword, TMP, dstPtr, 0); in VisitStringGetCharsNoCheck()
2995 __ Slti(TMP, length_input_minus_pos, length_constant); in EnoughItems()
2996 __ Bnez(TMP, slow_path->GetEntryLabel()); in EnoughItems()
2998 __ LoadConst32(TMP, length_constant); in EnoughItems()
2999 __ Blt(length_input_minus_pos, TMP, slow_path->GetEntryLabel()); in EnoughItems()
3028 __ Addiu32(AT, AT, -pos_const, TMP); in CheckPosition()
3114 __ Addiu32(src_base, src, data_offset + char_size * src_pos_const, TMP); in VisitSystemArrayCopyChar()
3116 __ Addiu32(src_base, src, data_offset, TMP); in VisitSystemArrayCopyChar()
3122 __ Addiu32(dest_base, dest, data_offset + char_size * dest_pos_const, TMP); in VisitSystemArrayCopyChar()
3124 __ Addiu32(dest_base, dest, data_offset, TMP); in VisitSystemArrayCopyChar()
3129 __ Lh(TMP, src_base, 0); in VisitSystemArrayCopyChar()
3132 __ Sh(TMP, dest_base, 0); in VisitSystemArrayCopyChar()
3176 __ StoreConstToOffset(kStoreWord, value, out, info.value_offset, TMP); in VisitIntegerValueOf()
3202 __ LoadConst32(TMP, data_offset + address); in VisitIntegerValueOf()
3203 __ ShiftAndAdd(out, out, TMP, TIMES_4); in VisitIntegerValueOf()