Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #12274 from JosJuice/jitarm64-non-dirty-immediates
JitArm64: Fix some oddities with non-dirty immediates
  • Loading branch information
AdmiralCurtiss committed Nov 8, 2023
2 parents 8064fec + f9dd13a commit 620fbcd
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Source/Core/Core/PowerPC/JitArm64/JitArm64_RegCache.cpp
Expand Up @@ -232,10 +232,10 @@ void Arm64GPRCache::FlushRegister(size_t index, bool maintain_state, ARM64Reg tm
if (allocated_tmp_reg)
UnlockRegister(tmp_reg);
}

if (!maintain_state)
reg.Flush();
}

if (!maintain_state)
reg.Flush();
}
}

Expand Down Expand Up @@ -317,7 +317,6 @@ ARM64Reg Arm64GPRCache::R(const GuestRegInfo& guest_reg)
ARM64Reg host_reg = bitsize != 64 ? GetReg() : EncodeRegTo64(GetReg());
m_emit->MOVI2R(host_reg, reg.GetImm());
reg.Load(host_reg);
reg.SetDirty(true);
return host_reg;
}
break;
Expand Down

0 comments on commit 620fbcd

Please sign in to comment.