From 727b4b750fbfed83028aad1ec9b2b078d0be56fe Mon Sep 17 00:00:00 2001 From: Mr-Wiseguy Date: Wed, 19 Jun 2024 21:42:09 -0400 Subject: [PATCH] Fix mov.d using the wrong input operand --- src/operations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operations.cpp b/src/operations.cpp index 0baf15d..30fd822 100644 --- a/src/operations.cpp +++ b/src/operations.cpp @@ -11,7 +11,7 @@ namespace RecompPort { { InstrId::cpu_mfc1, { UnaryOpType::ToInt32, Operand::Rt, Operand::FsU32L } }, // Float operations { InstrId::cpu_mov_s, { UnaryOpType::None, Operand::Fd, Operand::Fs, true } }, - { InstrId::cpu_mov_d, { UnaryOpType::None, Operand::FdDouble, Operand::FdDouble, true } }, + { InstrId::cpu_mov_d, { UnaryOpType::None, Operand::FdDouble, Operand::FsDouble, true } }, { InstrId::cpu_neg_s, { UnaryOpType::Negate, Operand::Fd, Operand::Fs, true, true } }, { InstrId::cpu_neg_d, { UnaryOpType::Negate, Operand::FdDouble, Operand::FsDouble, true, true } }, { InstrId::cpu_abs_s, { UnaryOpType::AbsFloat, Operand::Fd, Operand::Fs, true, true } },