mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
arm64jit: Avoid spilling an extra reg for lwl/lwr.
It's only needed for swl and swr.
This commit is contained in:
1 parent
8ffb0101fe
commit
d8d174fa2b
1 file changed
+1
-1
@@ -180,7 +180,7 @@ namespace MIPSComp {
|
||||
gpr.SpillLock(rs);
|
||||
// Need to get temps before skipping safe mem.
|
||||
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) {
|
||||
skips = SetScratch1ForSafeAddress(rs, offset, SCRATCH2);
|
||||
|
||||
Reference in new issue
Block a user