Merge pull request #3044 from degasus/arm

JitArm64: Fix lmw + stmw
This commit is contained in:
Ryan Houdek 2015-09-16 06:26:39 -04:00
commit 6dd212d384
1 changed files with 4 additions and 4 deletions

View File

@ -579,13 +579,13 @@ void JitArm64::lmw(UGeckoInstruction inst)
u16 remaining = off >> 12;
if (add)
{
ADD(WA, WA, remaining, true);
ADD(WA, gpr.R(a), off & 0xFFF);
ADD(WA, WA, remaining, true);
}
else
{
SUB(WA, WA, remaining, true);
SUB(WA, gpr.R(a), off & 0xFFF);
SUB(WA, WA, remaining, true);
}
}
}
@ -667,13 +667,13 @@ void JitArm64::stmw(UGeckoInstruction inst)
u16 remaining = off >> 12;
if (add)
{
ADD(WA, WA, remaining, true);
ADD(WA, gpr.R(a), off & 0xFFF);
ADD(WA, WA, remaining, true);
}
else
{
SUB(WA, WA, remaining, true);
SUB(WA, gpr.R(a), off & 0xFFF);
SUB(WA, WA, remaining, true);
}
}
}