diff options
| author | hrydgard <hrydgard@gmail.com> | 2008-11-25 23:19:05 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2008-11-25 23:19:05 +0000 |
| commit | a95e80468160c36f9bdef08f45461ed0b79e887d (patch) | |
| tree | a7fabca3bec8d99909e461eb8e87b9eabdbacca0 /Source/Core | |
| parent | 72af4324914a8392529bb196acdc71c1e1156205 (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.cpp | 2 |
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));
|
