From a95e80468160c36f9bdef08f45461ed0b79e887d Mon Sep 17 00:00:00 2001 From: hrydgard Date: Tue, 25 Nov 2008 23:19:05 +0000 Subject: [PATCH] fix jit bug causing the "not so simple" error message git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1297 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp index 19c9f34c17..63f44b0e89 100644 --- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp +++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp @@ -392,11 +392,11 @@ namespace Jit64 #endif INSTRUCTION_START; int a = inst.RA, s = inst.RS; + gpr.KillImmediate(s); gpr.LoadToX64(a, a == s, true); // This looks a little dangerous, but it's safe because // every 32-bit register has a 16-bit half at the same index // as the 32-bit register. - gpr.KillImmediate(s); MOVSX(32, 16, gpr.RX(a), gpr.R(s)); if (inst.Rc) { MOV(32, R(EAX), gpr.R(a));