From 2708be5577d6f52888b34ab9712200a072d687fe Mon Sep 17 00:00:00 2001 From: zilmar Date: Fri, 5 Oct 2012 19:22:32 +1000 Subject: [PATCH] fixed change for mthi and mtlo in 32bit core --- .../Project64/N64 System/Recompiler/Recompiler Ops.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Source/Project64/N64 System/Recompiler/Recompiler Ops.cpp b/Source/Project64/N64 System/Recompiler/Recompiler Ops.cpp index fe5a63913..8456a046a 100644 --- a/Source/Project64/N64 System/Recompiler/Recompiler Ops.cpp +++ b/Source/Project64/N64 System/Recompiler/Recompiler Ops.cpp @@ -2137,11 +2137,6 @@ void CRecompilerOps::SPECIAL_MTLO (void) { MoveConstToVariable(0,&_RegLO->UW[1],"_RegLO->UW[1]"); } MoveX86regToVariable(MipsRegMapLo(m_Opcode.rs), &_RegLO->UW[0],"_RegLO->UW[0]"); - } else if (b32BitCore()) { - x86Reg reg = Map_TempReg(x86_Any,m_Opcode.rs,false); - MoveX86regToVariable(reg,&_RegLO->UW[0],"_RegLO->UW[0]"); - ShiftRightSignImmed(reg,31); - MoveX86regToVariable(reg,&_RegLO->UW[1],"_RegLO->UW[1]"); } else { x86Reg reg = Map_TempReg(x86_Any,m_Opcode.rs,TRUE); MoveX86regToVariable(reg,&_RegLO->UW[1],"_RegLO->UW[1]"); @@ -2179,11 +2174,6 @@ void CRecompilerOps::SPECIAL_MTHI (void) { MoveConstToVariable(0,&_RegHI->UW[1],"_RegHI->UW[1]"); } MoveX86regToVariable(MipsRegMapLo(m_Opcode.rs), &_RegHI->UW[0],"_RegHI->UW[0]"); - } else if (b32BitCore()) { - x86Reg reg = Map_TempReg(x86_Any,m_Opcode.rs,false); - MoveX86regToVariable(reg,&_RegHI->UW[0],"_RegHI->UW[0]"); - ShiftRightSignImmed(reg,31); - MoveX86regToVariable(reg,&_RegHI->UW[1],"_RegHI->UW[1]"); } else { x86Reg reg = Map_TempReg(x86_Any,m_Opcode.rs,TRUE); MoveX86regToVariable(reg,&_RegHI->UW[1],"_RegHI->UW[1]");