mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-03 03:05:18 +02:00
arm64jit: Avoid spilling an extra reg for lwl/lwr.
It's only needed for swl and swr.
This commit is contained in:
@@ -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