Skip to content
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 6e9eb7c
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.