diff options
| author | calc84maniac <calc84maniac@gmail.com> | 2012-01-03 10:03:12 -0500 |
|---|---|---|
| committer | calc84maniac <calc84maniac@gmail.com> | 2012-01-03 10:03:12 -0500 |
| commit | b23a3df5e866288df5c90ff76cca8757382efcf1 (patch) | |
| tree | b926ace8d1976ce85099ccb3bba3e04ec5ba7f83 /Source/Core | |
| parent | b88d0aa53f6098212efa3a379734e57d7b6f164f (diff) | |
More x86 shift fixing
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp | 4 |
1 files 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 0be20dc4e6..56456bbf75 100644 --- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp +++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_Integer.cpp @@ -1436,7 +1436,7 @@ void Jit64::rlwinmx(UGeckoInstruction inst) MOV(32, gpr.R(a), gpr.R(s)); } - if (inst.MB == 0 && inst.ME==31-inst.SH) + if (inst.SH && inst.MB == 0 && inst.ME==31-inst.SH) { SHL(32, gpr.R(a), Imm8(inst.SH)); if (inst.Rc) @@ -1444,7 +1444,7 @@ void Jit64::rlwinmx(UGeckoInstruction inst) GenerateRC(); } } - else if (inst.ME == 31 && inst.MB == 32 - inst.SH) + else if (inst.SH && inst.ME == 31 && inst.MB == 32 - inst.SH) { SHR(32, gpr.R(a), Imm8(inst.MB)); if (inst.Rc) |
