Lines Matching refs:rt
405 s32 rt, rs; in mult_func() local
407 rt = regs->regs[MIPSInst_RT(ir)]; in mult_func()
409 res = (s64)rt * (s64)rs; in mult_func()
413 rt = res >> 32; in mult_func()
414 res = (s64)rt; in mult_func()
432 u32 rt, rs; in multu_func() local
434 rt = regs->regs[MIPSInst_RT(ir)]; in multu_func()
436 res = (u64)rt * (u64)rs; in multu_func()
437 rt = res; in multu_func()
438 regs->lo = (s64)(s32)rt; in multu_func()
455 s32 rt, rs; in div_func() local
457 rt = regs->regs[MIPSInst_RT(ir)]; in div_func()
460 regs->lo = (s64)(rs / rt); in div_func()
461 regs->hi = (s64)(rs % rt); in div_func()
477 u32 rt, rs; in divu_func() local
479 rt = regs->regs[MIPSInst_RT(ir)]; in divu_func()
482 regs->lo = (s64)(rs / rt); in divu_func()
483 regs->hi = (s64)(rs % rt); in divu_func()
500 s64 rt, rs; in dmult_func() local
505 rt = regs->regs[MIPSInst_RT(ir)]; in dmult_func()
507 res = rt * rs; in dmult_func()
513 : "r"(rt), "r"(rs)); in dmult_func()
532 u64 rt, rs; in dmultu_func() local
537 rt = regs->regs[MIPSInst_RT(ir)]; in dmultu_func()
539 res = rt * rs; in dmultu_func()
545 : "r"(rt), "r"(rs)); in dmultu_func()
563 s64 rt, rs; in ddiv_func() local
568 rt = regs->regs[MIPSInst_RT(ir)]; in ddiv_func()
571 regs->lo = rs / rt; in ddiv_func()
572 regs->hi = rs % rt; in ddiv_func()
588 u64 rt, rs; in ddivu_func() local
593 rt = regs->regs[MIPSInst_RT(ir)]; in ddivu_func()
596 regs->lo = rs / rt; in ddivu_func()
597 regs->hi = rs % rt; in ddivu_func()
636 s32 rt, rs; in madd_func() local
638 rt = regs->regs[MIPSInst_RT(ir)]; in madd_func()
640 res = (s64)rt * (s64)rs; in madd_func()
641 rt = regs->hi; in madd_func()
643 res += ((((s64)rt) << 32) | (u32)rs); in madd_func()
645 rt = res; in madd_func()
646 regs->lo = (s64)rt; in madd_func()
665 u32 rt, rs; in maddu_func() local
667 rt = regs->regs[MIPSInst_RT(ir)]; in maddu_func()
669 res = (u64)rt * (u64)rs; in maddu_func()
670 rt = regs->hi; in maddu_func()
672 res += ((((s64)rt) << 32) | (u32)rs); in maddu_func()
674 rt = res; in maddu_func()
675 regs->lo = (s64)(s32)rt; in maddu_func()
694 s32 rt, rs; in msub_func() local
696 rt = regs->regs[MIPSInst_RT(ir)]; in msub_func()
698 res = (s64)rt * (s64)rs; in msub_func()
699 rt = regs->hi; in msub_func()
701 res = ((((s64)rt) << 32) | (u32)rs) - res; in msub_func()
703 rt = res; in msub_func()
704 regs->lo = (s64)rt; in msub_func()
723 u32 rt, rs; in msubu_func() local
725 rt = regs->regs[MIPSInst_RT(ir)]; in msubu_func()
727 res = (u64)rt * (u64)rs; in msubu_func()
728 rt = regs->hi; in msubu_func()
730 res = ((((s64)rt) << 32) | (u32)rs) - res; in msubu_func()
732 rt = res; in msubu_func()
733 regs->lo = (s64)(s32)rt; in msubu_func()
752 s32 rt, rs; in mul_func() local
756 rt = regs->regs[MIPSInst_RT(ir)]; in mul_func()
758 res = (s64)rt * (s64)rs; in mul_func()
911 unsigned long cpc, epc, nepc, r31, res, rs, rt; in mipsr2_decoder() local
940 rt = MIPSInst_RT(inst); in mipsr2_decoder()
942 switch (rt) { in mipsr2_decoder()
1011 switch (rt) { in mipsr2_decoder()
1066 switch (rt) { in mipsr2_decoder()
1213 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1274 : "+&r"(rt), "=&r"(rs), in mipsr2_decoder()
1279 regs->regs[MIPSInst_RT(inst)] = rt; in mipsr2_decoder()
1286 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1349 : "+&r"(rt), "=&r"(rs), in mipsr2_decoder()
1353 regs->regs[MIPSInst_RT(inst)] = rt; in mipsr2_decoder()
1360 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1420 : "+&r"(rt), "=&r"(rs), in mipsr2_decoder()
1430 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1490 : "+&r"(rt), "=&r"(rs), in mipsr2_decoder()
1505 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1609 : "+&r"(rt), "=&r"(rs), in mipsr2_decoder()
1613 regs->regs[MIPSInst_RT(inst)] = rt; in mipsr2_decoder()
1624 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1728 : "+&r"(rt), "=&r"(rs), in mipsr2_decoder()
1732 regs->regs[MIPSInst_RT(inst)] = rt; in mipsr2_decoder()
1743 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1847 : "+&r"(rt), "=&r"(rs), in mipsr2_decoder()
1861 rt = regs->regs[MIPSInst_RT(inst)]; in mipsr2_decoder()
1965 : "+&r"(rt), "=&r"(rs), in mipsr2_decoder()