summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2009-07-20 20:00:08 +0000
committerhrydgard <hrydgard@gmail.com>2009-07-20 20:00:08 +0000
commitbf671bbcf6ea3f911ce78101aa25440ead29247d (patch)
treee25c81d2889aa4641684c30ae368fe1fac7956bd /Source/Core
parenta1904ba721fb7f5c0c457d76a053f875b52113e6 (diff)
JIT: another one bites the dust (cntlzwx)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3862 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp
index 78b3fabe7a..c2ba03cd09 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() || s == a)
+ if (gpr.R(a).IsImm() || gpr.R(s).IsImm())
{
Default(inst);
return;
}
- gpr.Lock(a,s);
- gpr.LoadToX64(a,false);
+ gpr.Lock(a, s);
+ gpr.LoadToX64(a, true, true);
BSR(32, gpr.R(a).GetSimpleReg(), gpr.R(s));
FixupBranch gotone = J_CC(CC_NZ);
MOV(32, gpr.R(a), Imm32(63));