From 0ca7b2a7948af5b4211eec79b3e808f125f06ff5 Mon Sep 17 00:00:00 2001 From: Sacha Date: Fri, 1 Mar 2013 16:55:10 +1000 Subject: [PATCH] The cvt.s.w has to be signed (as it was before). Also, implement f,sf but untested so it is left commented out. --- Core/MIPS/ARM/ArmCompFPU.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Core/MIPS/ARM/ArmCompFPU.cpp b/Core/MIPS/ARM/ArmCompFPU.cpp index ff199a4a1..040b69518 100644 --- a/Core/MIPS/ARM/ArmCompFPU.cpp +++ b/Core/MIPS/ARM/ArmCompFPU.cpp @@ -108,7 +108,8 @@ void Jit::Comp_FPUComp(u32 op) { switch (op & 0xf) { case 0: //f case 8: //sf - // MOV(32, M((void *) ¤tMIPS->fpcond), Imm32(0)); + /*MOVI2R(R0, (u32)¤tMIPS->fpcond); + MOV(R0, Operand2(0));*/ break; case 1: //un @@ -210,7 +211,7 @@ void Jit::Comp_FPU2op(u32 op) break; case 32: //F(fd) = (float)FsI(fs); break; //cvt.s.w fpr.MapDirtyIn(fd, fs); - VCVT(fpr.R(fd), fpr.R(fs), false, false); + VCVT(fpr.R(fd), fpr.R(fs), false, true); break; case 36: //FsI(fd) = (int) F(fs); break; //cvt.w.s fpr.MapDirtyIn(fd, fs);