JitArm64: Fix lwbrx and lhbrx

This commit is contained in:
degasus 2015-09-05 12:55:09 +02:00
parent 696f95d5f9
commit 36902c58eb
1 changed files with 1 additions and 4 deletions

View File

@ -327,32 +327,29 @@ void JitArm64::lXX(UGeckoInstruction inst)
switch (inst.OPCD)
{
case 31:
offsetReg = b;
switch (inst.SUBOP10)
{
case 55: // lwzux
update = true;
case 23: // lwzx
flags |= BackPatchInfo::FLAG_SIZE_32;
offsetReg = b;
break;
case 119: //lbzux
update = true;
case 87: // lbzx
flags |= BackPatchInfo::FLAG_SIZE_8;
offsetReg = b;
break;
case 311: // lhzux
update = true;
case 279: // lhzx
flags |= BackPatchInfo::FLAG_SIZE_16;
offsetReg = b;
break;
case 375: // lhaux
update = true;
case 343: // lhax
flags |= BackPatchInfo::FLAG_EXTEND |
BackPatchInfo::FLAG_SIZE_16;
offsetReg = b;
break;
case 534: // lwbrx
flags |= BackPatchInfo::FLAG_REVERSE |