mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
TSX: enable same data optimization for PUTLLC
This commit is contained in:
parent
61c64d1060
commit
c0bafbc804
1 changed files with 2 additions and 2 deletions
|
@ -2555,12 +2555,12 @@ bool spu_thread::do_putllc(const spu_mfc_cmd& args)
|
|||
// TODO: Limit scope!!
|
||||
rsx::reservation_lock rsx_lock(addr, 128);
|
||||
|
||||
if (!g_use_rtm && rtime != res)
|
||||
if (rtime != res)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!g_use_rtm && cmp_rdata(to_write, rdata))
|
||||
if (cmp_rdata(to_write, rdata))
|
||||
{
|
||||
// Writeback of unchanged data. Only check memory change
|
||||
return cmp_rdata(rdata, vm::_ref<spu_rdata_t>(addr)) && res.compare_and_swap_test(rtime, rtime + 128);
|
||||
|
|
Loading…
Add table
Reference in a new issue