From 6e7a5bdb2f1fff8b3d16122cc0b760d3c2541eae Mon Sep 17 00:00:00 2001 From: Rainchus Date: Mon, 7 Jul 2025 00:55:15 -0500 Subject: [PATCH] Add dmtc1 and dmfc1 functionality to the recompiler (#134) * make osPiReadIo no longer ignored * remove added dmtc1/dmfc1 functionality * add dmtc1 and dmfc1 to recompiler --- src/operations.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/operations.cpp b/src/operations.cpp index 70201d3..2cbe3f3 100644 --- a/src/operations.cpp +++ b/src/operations.cpp @@ -9,6 +9,8 @@ namespace N64Recomp { { InstrId::cpu_mflo, { UnaryOpType::None, Operand::Rd, Operand::Lo } }, { InstrId::cpu_mtc1, { UnaryOpType::None, Operand::FsU32L, Operand::Rt } }, { InstrId::cpu_mfc1, { UnaryOpType::ToInt32, Operand::Rt, Operand::FsU32L } }, + { InstrId::cpu_dmtc1, { UnaryOpType::None, Operand::FsU64, Operand::Rt } }, + { InstrId::cpu_dmfc1, { UnaryOpType::None, Operand::Rt, Operand::FsU64 } }, // Float operations { InstrId::cpu_mov_s, { UnaryOpType::None, Operand::Fd, Operand::Fs, true } }, { InstrId::cpu_mov_d, { UnaryOpType::None, Operand::FdDouble, Operand::FsDouble, true } },