summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorhrydgard <hrydgard@gmail.com>2008-11-25 23:19:05 +0000
committerhrydgard <hrydgard@gmail.com>2008-11-25 23:19:05 +0000
commita95e80468160c36f9bdef08f45461ed0b79e887d (patch)
treea7fabca3bec8d99909e461eb8e87b9eabdbacca0 /Source/Core
parent72af4324914a8392529bb196acdc71c1e1156205 (diff)
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
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp2
1 files changed, 1 insertions, 1 deletions
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));