Interpreter: Update CR when FRSP's record bit is set
This commit is contained in:
1 parent
a98bddc352
commit
3acf165787
1 file changed
+3
@@ -280,6 +280,9 @@ void Interpreter::frspx(UGeckoInstruction inst) // round to single
|
|||||||
FPSCR.FR = fabs(rounded) > fabs(b);
|
FPSCR.FR = fabs(rounded) > fabs(b);
|
||||||
UpdateFPRF(rounded);
|
UpdateFPRF(rounded);
|
||||||
rPS0(inst.FD) = rPS1(inst.FD) = rounded;
|
rPS0(inst.FD) = rPS1(inst.FD) = rounded;
|
||||||
|
|
||||||
|
if (inst.Rc)
|
||||||
|
Helper_UpdateCR1();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user