Rt = Rs + Im [exception on overflow] This is the full 64 bit version of ADDI. Overflow occurs at 64 bits instead of at 32 bits.
| 300 | // This is the full 64 bit version of ADDI. Overflow occurs at 64 bits instead |
| 301 | // of at 32 bits. |
| 302 | void DADDI() |
| 303 | { |
| 304 | s64 result; |
| 305 | bool overflow = _add64_Overflow( cpuRegs.GPR.r[_Rs_].SD[0], _Imm_, result ); |
| 306 | if (overflow || !_Rt_) return; |
| 307 | cpuRegs.GPR.r[_Rt_].SD[0] = result; |
| 308 | } |
| 309 | |
| 310 | // Rt = Rs + Im [overflow ignored] |
| 311 | // This instruction is effectively identical to DADDI. It is not a true unsigned operation, |
nothing calls this directly
no test coverage detected