mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-10 03:25:55 +00:00
JitArm64: Fix lwbrx and lhbrx
This commit is contained in:
parent
696f95d5f9
commit
36902c58eb
1 changed files with 1 additions and 4 deletions
|
@ -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 |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue