From 19522fbf6badf0c8e4e8e7e2719d88e49c0d62bc Mon Sep 17 00:00:00 2001 From: hrydgard Date: Mon, 24 Aug 2009 19:11:05 +0000 Subject: [PATCH] revert r3862, until it can be figured out why it causes problems with RE0 sound git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4047 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp index 939d5f1384..7857bc3aca 100644 --- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp +++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp @@ -950,13 +950,13 @@ INSTRUCTION_START; int a = inst.RA; int s = inst.RS; - if (gpr.R(a).IsImm() || gpr.R(s).IsImm()) + if (gpr.R(a).IsImm() || gpr.R(s).IsImm() || s == a) { Default(inst); return; } gpr.Lock(a, s); - gpr.LoadToX64(a, true, true); + gpr.LoadToX64(a, false); BSR(32, gpr.R(a).GetSimpleReg(), gpr.R(s)); FixupBranch gotone = J_CC(CC_NZ); MOV(32, gpr.R(a), Imm32(63));