SPU: Make PUT transfers use SEQ-CST ordering on Accurate DMA (#8844)

This commit is contained in:
Eladash 2020-09-06 14:09:14 +03:00 committed by GitHub
parent e1adb18491
commit abc715bc5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -1611,6 +1611,11 @@ void spu_thread::do_dma_transfer(const spu_mfc_cmd& args)
}
}
if (g_cfg.core.spu_accurate_dma)
{
std::atomic_thread_fence(std::memory_order_seq_cst);
}
return;
}