MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / DADD

Function DADD

pcsx2/R5900OpcodeImpl.cpp:338–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338void DADD()
339{
340 s64 result;
341 bool overflow = _add64_Overflow( cpuRegs.GPR.r[_Rs_].SD[0], cpuRegs.GPR.r[_Rt_].SD[0], result );
342 if (overflow || !_Rd_) return;
343 cpuRegs.GPR.r[_Rd_].SD[0] = result;
344}
345
346// Rd = Rs - Rt (Exception on Integer Overflow)
347void SUB()

Callers

nothing calls this directly

Calls 1

_add64_OverflowFunction · 0.85

Tested by

no test coverage detected