mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-26 07:39:45 -06:00
JitArm64: Fix lwbrx and lhbrx
This commit is contained in:
@ -327,32 +327,29 @@ void JitArm64::lXX(UGeckoInstruction inst)
|
|||||||
switch (inst.OPCD)
|
switch (inst.OPCD)
|
||||||
{
|
{
|
||||||
case 31:
|
case 31:
|
||||||
|
offsetReg = b;
|
||||||
switch (inst.SUBOP10)
|
switch (inst.SUBOP10)
|
||||||
{
|
{
|
||||||
case 55: // lwzux
|
case 55: // lwzux
|
||||||
update = true;
|
update = true;
|
||||||
case 23: // lwzx
|
case 23: // lwzx
|
||||||
flags |= BackPatchInfo::FLAG_SIZE_32;
|
flags |= BackPatchInfo::FLAG_SIZE_32;
|
||||||
offsetReg = b;
|
|
||||||
break;
|
break;
|
||||||
case 119: //lbzux
|
case 119: //lbzux
|
||||||
update = true;
|
update = true;
|
||||||
case 87: // lbzx
|
case 87: // lbzx
|
||||||
flags |= BackPatchInfo::FLAG_SIZE_8;
|
flags |= BackPatchInfo::FLAG_SIZE_8;
|
||||||
offsetReg = b;
|
|
||||||
break;
|
break;
|
||||||
case 311: // lhzux
|
case 311: // lhzux
|
||||||
update = true;
|
update = true;
|
||||||
case 279: // lhzx
|
case 279: // lhzx
|
||||||
flags |= BackPatchInfo::FLAG_SIZE_16;
|
flags |= BackPatchInfo::FLAG_SIZE_16;
|
||||||
offsetReg = b;
|
|
||||||
break;
|
break;
|
||||||
case 375: // lhaux
|
case 375: // lhaux
|
||||||
update = true;
|
update = true;
|
||||||
case 343: // lhax
|
case 343: // lhax
|
||||||
flags |= BackPatchInfo::FLAG_EXTEND |
|
flags |= BackPatchInfo::FLAG_EXTEND |
|
||||||
BackPatchInfo::FLAG_SIZE_16;
|
BackPatchInfo::FLAG_SIZE_16;
|
||||||
offsetReg = b;
|
|
||||||
break;
|
break;
|
||||||
case 534: // lwbrx
|
case 534: // lwbrx
|
||||||
flags |= BackPatchInfo::FLAG_REVERSE |
|
flags |= BackPatchInfo::FLAG_REVERSE |
|
||||||
|
Reference in New Issue
Block a user