mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Merge pull request #12378 from JosJuice/jitarm64-a-early-discard
JitArm64: Add additional condition for lmw/stmw a discard
This commit is contained in:
commit
bdd28f1f26
@ -549,7 +549,7 @@ void JitArm64::lmw(UGeckoInstruction inst)
|
||||
{
|
||||
if (a_is_addr_base_reg)
|
||||
gprs_to_discard[a] = false;
|
||||
else
|
||||
else if (a < d)
|
||||
gpr.DiscardRegisters(BitSet32{int(a)});
|
||||
}
|
||||
}
|
||||
@ -666,7 +666,7 @@ void JitArm64::stmw(UGeckoInstruction inst)
|
||||
{
|
||||
if (a_is_addr_base_reg)
|
||||
gprs_to_discard[a] = false;
|
||||
else
|
||||
else if (a < s)
|
||||
gpr.DiscardRegisters(BitSet32{int(a)});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user