Merge pull request #12378 from JosJuice/jitarm64-a-early-discard

JitArm64: Add additional condition for lmw/stmw a discard
This commit is contained in:
Mai 2023-12-10 20:15:57 -05:00 committed by GitHub
commit bdd28f1f26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)});
}
}