From b0cdff873335ea91a1f7b092d654382ef44d910a Mon Sep 17 00:00:00 2001 From: Rainchus Date: Thu, 27 Feb 2025 16:00:49 -0600 Subject: [PATCH] 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 } },