Skip to content

Commit

Permalink
Interpreter: Add CR record for mulldx instruction.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsh1ft3r committed Feb 3, 2025
1 parent b039cb3 commit 1e6d957
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Xenon/Core/XCPU/Interpreter/PPC_ALU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,11 @@ void PPCInterpreter::PPCInterpreter_mulldx(PPU_STATE *hCore) {
ppcMul64Signed(GPR(rA), GPR(rB), &qwH, &qwL);

GPR(rD) = qwL;

if (RC) {
u32 CR = CRCompS(hCore, GPR(rD), 0);
ppcUpdateCR(hCore, 0, CR);
}
}

void PPCInterpreter::PPCInterpreter_mullw(PPU_STATE *hCore) {
Expand Down

0 comments on commit 1e6d957

Please sign in to comment.