Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Jit64: don't flush clean FPRs
  • Loading branch information
Tilka committed Nov 13, 2013
1 parent 710a0ff commit 038ffea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/Core/Core/Src/PowerPC/Jit64/JitRegCache.cpp
Expand Up @@ -351,11 +351,12 @@ void FPURegCache::StoreFromRegister(int i)
{
X64Reg xr = regs[i].location.GetSimpleReg();
_assert_msg_(DYNA_REC, xr < NUMXREGS, "WTF - store - invalid reg");
OpArg newLoc = GetDefaultLocation(i);
if (xregs[xr].dirty)
emit->MOVAPD(newLoc, xr);
xregs[xr].free = true;
xregs[xr].dirty = false;
xregs[xr].ppcReg = -1;
OpArg newLoc = GetDefaultLocation(i);
emit->MOVAPD(newLoc, xr);
regs[i].location = newLoc;
regs[i].away = false;
}
Expand Down

0 comments on commit 038ffea

Please sign in to comment.