| 1737 | } |
| 1738 | |
| 1739 | void N64Recomp::LiveGenerator::emit_cop1_cs_write(int reg) const { |
| 1740 | sljit_sw src; |
| 1741 | sljit_sw srcw; |
| 1742 | get_gpr_values(reg, src, srcw); |
| 1743 | |
| 1744 | // Load the input register value into R0. |
| 1745 | sljit_emit_op1(compiler, SLJIT_MOV, SLJIT_R0, 0, src, srcw); |
| 1746 | |
| 1747 | // Call set_cop1_cs. |
| 1748 | sljit_emit_icall(compiler, SLJIT_CALL, SLJIT_ARGS1V(32), SLJIT_IMM, sljit_sw(set_cop1_cs)); |
| 1749 | } |
| 1750 | |
| 1751 | void N64Recomp::LiveGenerator::emit_muldiv(InstrId instr_id, int reg1, int reg2) const { |
| 1752 | sljit_sw src1; |
nothing calls this directly
no test coverage detected