Permalink
Browse files

Merge pull request #7561 from MerryMage/fix-Jit_LoadStore

Jit_LoadStore: Ra needs to be ReadWrite when writeback is required
  • Loading branch information...
delroth committed Nov 10, 2018
2 parents 0e1cca5 + df08a77 commit 6e9eb7c07c9661b1a3348f433f0d70c20fd9140d
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/Core/Core/PowerPC/Jit64/Jit_LoadStore.cpp
@@ -244,7 +244,7 @@ void Jit64::lXXx(UGeckoInstruction inst)
}
}
RCX64Reg Ra = (update && storeAddress) ? gpr.Bind(a, RCMode::Write) : RCX64Reg{};
RCX64Reg Ra = (update && storeAddress) ? gpr.Bind(a, RCMode::ReadWrite) : RCX64Reg{};
RegCache::Realize(opAddress, Ra, Rd);
BitSet32 registersInUse = CallerSavedRegistersInUse();

0 comments on commit 6e9eb7c

Please sign in to comment.