Lines Matching refs:r_dst
2172 UInt rA, idx, r_dst; in doAMode_IR() local
2180 r_dst = 24; in doAMode_IR()
2182 r_dst = rSD; in doAMode_IR()
2188 p = mkFormR(p, 0, 0, 0, r_dst, 0, 16); in doAMode_IR()
2191 p = mkFormR(p, 0, 0, 0, r_dst, 0, 18); in doAMode_IR()
2194 p = mkFormI(p, opc1, rA, r_dst, idx); in doAMode_IR()
2200 p = mkFormR(p, 0, r_dst, 0, 0, 0, 17); in doAMode_IR()
2203 p = mkFormR(p, 0, r_dst, 0, 0, 0, 19); in doAMode_IR()
2212 UInt rA, rB, r_dst; in doAMode_RR() local
2219 r_dst = 24; in doAMode_RR()
2221 r_dst = rSD; in doAMode_RR()
2227 p = mkFormR(p, 0, 0, 0, r_dst, 0, 16); in doAMode_RR()
2230 p = mkFormR(p, 0, 0, 0, r_dst, 0, 18); in doAMode_RR()
2238 p = mkFormI(p, opc1, rA, r_dst, 0); in doAMode_RR()
2245 p = mkFormI(p, opc1, rA, r_dst, 0); in doAMode_RR()
2252 p = mkFormR(p, 0, r_dst, 0, 0, 0, 17); in doAMode_RR()
2255 p = mkFormR(p, 0, r_dst, 0, 0, 0, 19); in doAMode_RR()
2262 static UChar *mkLoadImm(UChar * p, UInt r_dst, ULong imm, Bool mode64) in mkLoadImm() argument
2265 vassert(r_dst < 0x20); in mkLoadImm()
2275 p = mkFormI(p, 9, 0, r_dst, imm & 0xFFFF); in mkLoadImm()
2281 p = mkFormI(p, 15, 0, r_dst, (imm >> 16) & 0xFFFF); in mkLoadImm()
2283 p = mkFormI(p, 13, r_dst, r_dst, imm & 0xFFFF); in mkLoadImm()
2287 p = mkFormI(p, 15, 0, r_dst, (imm >> 48) & 0xFFFF); in mkLoadImm()
2289 p = mkFormI(p, 13, r_dst, r_dst, (imm >> 32) & 0xFFFF); in mkLoadImm()
2291 p = mkFormS(p, 0, r_dst, 0, r_dst, 16, 56); in mkLoadImm()
2293 p = mkFormI(p, 13, r_dst, r_dst, (imm >> 16) & 0xFFFF); in mkLoadImm()
2295 p = mkFormS(p, 0, r_dst, 0, r_dst, 16, 56); in mkLoadImm()
2297 p = mkFormI(p, 13, r_dst, r_dst, imm & 0xFFFF); in mkLoadImm()
2308 UInt r_dst, ULong imm, Bool mode64) in mkLoadImm_EXACTLY2or6() argument
2310 vassert(r_dst < 0x20); in mkLoadImm_EXACTLY2or6()
2325 p = mkFormI(p, 15, 0, r_dst, (imm >> 16) & 0xFFFF); in mkLoadImm_EXACTLY2or6()
2327 p = mkFormI(p, 13, r_dst, r_dst, imm & 0xFFFF); in mkLoadImm_EXACTLY2or6()
2332 p = mkFormI(p, 15, 0, r_dst, (imm >> 48) & 0xFFFF); in mkLoadImm_EXACTLY2or6()
2334 p = mkFormI(p, 13, r_dst, r_dst, (imm >> 32) & 0xFFFF); in mkLoadImm_EXACTLY2or6()
2336 p = mkFormS(p, 0, r_dst, 0, r_dst, 16, 56); in mkLoadImm_EXACTLY2or6()
2338 p = mkFormI(p, 13, r_dst, r_dst, (imm >> 16) & 0xFFFF); in mkLoadImm_EXACTLY2or6()
2340 p = mkFormS(p, 0, r_dst, 0, r_dst, 16, 56); in mkLoadImm_EXACTLY2or6()
2342 p = mkFormI(p, 13, r_dst, r_dst, imm & 0xFFFF); in mkLoadImm_EXACTLY2or6()
2350 UInt r_dst, ULong imm, Bool mode64 ) in isLoadImm_EXACTLY2or6() argument
2352 vassert(r_dst < 0x20); in isLoadImm_EXACTLY2or6()
2367 p = mkFormI(p, 15, 0, r_dst, (imm >> 16) & 0xFFFF); in isLoadImm_EXACTLY2or6()
2369 p = mkFormI(p, 13, r_dst, r_dst, imm & 0xFFFF); in isLoadImm_EXACTLY2or6()
2378 p = mkFormI(p, 15, 0, r_dst, (imm >> 48) & 0xFFFF); in isLoadImm_EXACTLY2or6()
2380 p = mkFormI(p, 13, r_dst, r_dst, (imm >> 32) & 0xFFFF); in isLoadImm_EXACTLY2or6()
2382 p = mkFormS(p, 0, r_dst, 0, r_dst, 16, 56); in isLoadImm_EXACTLY2or6()
2384 p = mkFormI(p, 13, r_dst, r_dst, (imm >> 16) & 0xFFFF); in isLoadImm_EXACTLY2or6()
2386 p = mkFormS(p, 0, r_dst, 0, r_dst, 16, 56); in isLoadImm_EXACTLY2or6()
2388 p = mkFormI(p, 13, r_dst, r_dst, imm & 0xFFFF); in isLoadImm_EXACTLY2or6()
2491 static UChar *mkMoveReg(UChar * p, UInt r_dst, UInt r_src) in mkMoveReg() argument
2493 vassert(r_dst < 0x20); in mkMoveReg()
2496 if (r_dst != r_src) { in mkMoveReg()
2498 p = mkFormR(p, 0, r_src, r_src, r_dst, 0, 37); in mkMoveReg()
2529 UInt r_dst = iregNo(i->Min.Alu.dst, mode64); in emit_MIPSInstr() local
2539 p = mkFormI(p, 9, r_srcL, r_dst, srcR->Mrh.Imm.imm16); in emit_MIPSInstr()
2542 p = mkFormR(p, 0, r_srcL, r_srcR, r_dst, 0, 33); in emit_MIPSInstr()
2550 p = mkFormI(p, 9, r_srcL, r_dst, (-srcR->Mrh.Imm.imm16)); in emit_MIPSInstr()
2553 p = mkFormR(p, 0, r_srcL, r_srcR, r_dst, 0, 35); in emit_MIPSInstr()
2560 p = mkFormI(p, 12, r_srcL, r_dst, srcR->Mrh.Imm.imm16); in emit_MIPSInstr()
2563 p = mkFormR(p, 0, r_srcL, r_srcR, r_dst, 0, 36); in emit_MIPSInstr()
2570 p = mkFormI(p, 13, r_srcL, r_dst, srcR->Mrh.Imm.imm16); in emit_MIPSInstr()
2575 p = mkFormR(p, 0, 0, 0, r_dst, 0, 16); in emit_MIPSInstr()
2578 p = mkFormR(p, 0, 0, 0, r_dst, 0, 18); in emit_MIPSInstr()
2579 else if (r_dst == 33) in emit_MIPSInstr()
2582 else if (r_dst == 34) in emit_MIPSInstr()
2586 p = mkFormR(p, 0, r_srcL, r_srcR, r_dst, 0, 37); in emit_MIPSInstr()
2592 p = mkFormR(p, 0, r_srcL, r_srcR, r_dst, 0, 39); in emit_MIPSInstr()
2598 p = mkFormI(p, 14, r_srcL, r_dst, srcR->Mrh.Imm.imm16); in emit_MIPSInstr()
2601 p = mkFormR(p, 0, r_srcL, r_srcR, r_dst, 0, 38); in emit_MIPSInstr()
2608 p = mkFormI(p, 25, r_srcL, r_dst, srcR->Mrh.Imm.imm16); in emit_MIPSInstr()
2610 p = mkFormR(p, 0, r_srcL, r_srcR, r_dst, 0, 45); in emit_MIPSInstr()
2615 p = mkFormI(p, 25, r_srcL, r_dst, (-srcR->Mrh.Imm.imm16)); in emit_MIPSInstr()
2617 p = mkFormR(p, 0, r_srcL, r_srcR, r_dst, 0, 47); in emit_MIPSInstr()
2624 p = mkFormR(p, 0, r_srcL, r_srcR, r_dst, 0, 42); in emit_MIPSInstr()
2638 UInt r_dst = iregNo(i->Min.Shft.dst, mode64); in emit_MIPSInstr() local
2650 p = mkFormS(p, 0, r_dst, 0, r_srcL, n, 0); in emit_MIPSInstr()
2653 p = mkFormS(p, 0, r_dst, r_srcR, r_srcL, 0, 4); in emit_MIPSInstr()
2660 p = mkFormS(p, 0, r_dst, 0, r_srcL, n, 56); in emit_MIPSInstr()
2662 p = mkFormS(p, 0, r_dst, 0, r_srcL, n - 32, 60); in emit_MIPSInstr()
2665 p = mkFormS(p, 0, r_dst, r_srcR, r_srcL, 0, 20); in emit_MIPSInstr()
2676 p = mkFormS(p, 0, r_dst, 0, r_srcL, n, 2); in emit_MIPSInstr()
2679 p = mkFormS(p, 0, r_dst, r_srcR, r_srcL, 0, 6); in emit_MIPSInstr()
2687 p = mkFormS(p, 0, r_dst, 0, r_srcL, n, 58); in emit_MIPSInstr()
2689 p = mkFormS(p, 0, r_dst, 0, r_srcL, n - 32, 62); in emit_MIPSInstr()
2692 p = mkFormS(p, 0, r_dst, r_srcR, r_srcL, 0, 22); in emit_MIPSInstr()
2703 p = mkFormS(p, 0, r_dst, 0, r_srcL, n, 3); in emit_MIPSInstr()
2706 p = mkFormS(p, 0, r_dst, r_srcR, r_srcL, 0, 7); in emit_MIPSInstr()
2714 p = mkFormS(p, 0, r_dst, 0, r_srcL, n, 59); in emit_MIPSInstr()
2716 p = mkFormS(p, 0, r_dst, 0, r_srcL, n - 32, 63); in emit_MIPSInstr()
2719 p = mkFormS(p, 0, r_dst, r_srcR, r_srcL, 0, 23); in emit_MIPSInstr()
2732 UInt r_dst = iregNo(i->Min.Unary.dst, mode64); in emit_MIPSInstr() local
2738 p = mkFormR(p, 28, r_src, r_dst , r_dst, 0, 33); in emit_MIPSInstr()
2741 p = mkFormR(p, 28, r_src, r_dst , r_dst, 0, 32); in emit_MIPSInstr()
2747 p = mkFormR(p, 28, r_src, r_dst , r_dst, 0, 37); in emit_MIPSInstr()
2750 p = mkFormR(p, 28, r_src, r_dst , r_dst, 0, 36); in emit_MIPSInstr()
2759 UInt r_dst = iregNo(i->Min.Cmp.dst, mode64); in emit_MIPSInstr() local
2765 p = mkFormR(p, 0, r_srcL, r_srcR, r_dst, 0, 38); in emit_MIPSInstr()
2766 p = mkFormI(p, 11, r_dst, r_dst, 1); in emit_MIPSInstr()
2771 p = mkFormR(p, 0, r_srcL, r_srcR, r_dst, 0, 38); in emit_MIPSInstr()
2772 p = mkFormR(p, 0, 0, r_dst, r_dst, 0, 43); in emit_MIPSInstr()
2776 p = mkFormR(p, 0, r_srcL, r_srcR, r_dst, 0, 42); in emit_MIPSInstr()
2780 p = mkFormR(p, 0, r_srcL, r_srcR, r_dst, 0, 43); in emit_MIPSInstr()
2785 p = mkFormR(p, 0, r_srcR, r_srcL, r_dst, 0, 42); in emit_MIPSInstr()
2786 p = mkFormI(p, 14, r_dst, r_dst, 1); in emit_MIPSInstr()
2791 p = mkFormR(p, 0, r_srcR, r_srcL, r_dst, 0, 43); in emit_MIPSInstr()
2792 p = mkFormI(p, 14, r_dst, r_dst, 1); in emit_MIPSInstr()
2806 UInt r_dst = iregNo(i->Min.Mul.dst, mode64); in emit_MIPSInstr() local
2824 p = mkFormR(p, 28, r_srcL, r_srcR, r_dst, 0, 2); in emit_MIPSInstr()
2826 p = mkFormR(p, 28, r_srcL, r_srcR, r_dst, 0, 2); in emit_MIPSInstr()
2909 UInt r_dst = iregNo(i->Min.MfHL.dst, mode64); in emit_MIPSInstr() local
2910 p = mkFormR(p, 0, 0, 0, r_dst, 0, 16); in emit_MIPSInstr()
2915 UInt r_dst = iregNo(i->Min.MfHL.dst, mode64); in emit_MIPSInstr() local
2916 p = mkFormR(p, 0, 0, 0, r_dst, 0, 18); in emit_MIPSInstr()
2928 UInt r_dst = iregNo(i->Min.MfFCSR.dst, mode64); in emit_MIPSInstr() local
2930 p = mkFormR(p, 17, 2, r_dst, 31, 0, 0); in emit_MIPSInstr()
2947 UInt r_dst = 25; /* using %r25 as address temporary - in emit_MIPSInstr() local
2965 p = mkLoadImm(p, r_dst, i->Min.Call.target, mode64); in emit_MIPSInstr()
2968 p = mkFormR(p, 0, r_dst, 0, 31, 0, 9); /* p += 4 */ in emit_MIPSInstr()
3178 UInt r_dst = iregNo(i->Min.Load.dst, mode64); in emit_MIPSInstr() local
3202 p = doAMode_IR(p, opc, r_dst, am_addr, mode64); in emit_MIPSInstr()
3205 UInt r_dst = iregNo(i->Min.Load.dst, mode64); in emit_MIPSInstr() local
3226 p = doAMode_RR(p, opc, r_dst, am_addr, mode64); in emit_MIPSInstr()
3292 UInt r_dst = iregNo(i->Min.LoadL.dst, mode64); in emit_MIPSInstr() local
3295 p = mkFormI(p, 0x30, r_src, r_dst, idx); in emit_MIPSInstr()
3297 p = mkFormI(p, 0x34, r_src, r_dst, idx); in emit_MIPSInstr()
3304 UInt r_dst = iregNo(am_addr->Mam.IR.base, mode64); in emit_MIPSInstr() local
3307 p = mkFormI(p, 0x38, r_dst, r_src, idx); in emit_MIPSInstr()
3309 p = mkFormI(p, 0x3C, r_dst, r_src, idx); in emit_MIPSInstr()
3688 UInt r_dst = iregNo(i->Min.FpCompare.dst, mode64); in emit_MIPSInstr() local
3714 p = mkFormR(p, 0x11, 0x2, r_dst, 31, 0, 0); in emit_MIPSInstr()
3715 p = mkFormS(p, 0, r_dst, 0, r_dst, 23, 2); in emit_MIPSInstr()
3716 p = mkFormI(p, 12, r_dst, r_dst, 1); in emit_MIPSInstr()