Merge pull request #7561 from MerryMage/fix-Jit_LoadStore
Jit_LoadStore: Ra needs to be ReadWrite when writeback is required
This commit is contained in:
commit
6e9eb7c07c
|
@ -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);
|
RegCache::Realize(opAddress, Ra, Rd);
|
||||||
|
|
||||||
BitSet32 registersInUse = CallerSavedRegistersInUse();
|
BitSet32 registersInUse = CallerSavedRegistersInUse();
|
||||||
|
|
Loading…
Reference in New Issue