Implement FPU rounding mode support in the IR interpreter for x86/x64

This commit is contained in:
Henrik Rydgård committed 2024-06-19 18:09:38 +02:00
1 parent 03b68fdc61
commit 0080f71ca4
5 files changed
+42 -5

No files matched your search

+1
View File
@@ -223,6 +223,7 @@ void IRFrontend::Comp_mxc1(MIPSOpcode op) {
// Set rounding mode
RestoreRoundingMode();
ir.Write(IROp::FpCtrlFromReg, 0, rt);
// TODO: Do the UpdateRoundingMode check at runtime?
UpdateRoundingMode();
ApplyRoundingMode();
} else {