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
This commit is contained in:
parent
72af432491
commit
a95e804681
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue