mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
arm64jit: Avoid spilling an extra reg for lwl/lwr.
It's only needed for swl and swr.
This commit is contained in:
parent
8ffb0101fe
commit
d8d174fa2b
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ namespace MIPSComp {
|
||||||
gpr.SpillLock(rs);
|
gpr.SpillLock(rs);
|
||||||
// Need to get temps before skipping safe mem.
|
// Need to get temps before skipping safe mem.
|
||||||
ARM64Reg LR_SCRATCH3 = gpr.GetAndLockTempR();
|
ARM64Reg LR_SCRATCH3 = gpr.GetAndLockTempR();
|
||||||
ARM64Reg LR_SCRATCH4 = gpr.GetAndLockTempR();
|
ARM64Reg LR_SCRATCH4 = o == 42 || o == 46 ? gpr.GetAndLockTempR() : INVALID_REG;
|
||||||
|
|
||||||
if (!g_Config.bFastMemory && rs != MIPS_REG_SP) {
|
if (!g_Config.bFastMemory && rs != MIPS_REG_SP) {
|
||||||
skips = SetScratch1ForSafeAddress(rs, offset, SCRATCH2);
|
skips = SetScratch1ForSafeAddress(rs, offset, SCRATCH2);
|
||||||
|
|
Loading…
Add table
Reference in a new issue