SPU: Cleanup for Accurate PUTLLUC

Should no longer affect GET commands because Accurate DMA is available for this functionality.
This commit is contained in:
Eladash 2020-09-04 09:52:56 +03:00 committed by Megamouse
parent c5c9ea1b21
commit 4ffc58a8ce
2 changed files with 1 additions and 6 deletions

View File

@ -5796,11 +5796,6 @@ public:
if (u64 cmdh = ci->getZExtValue() & ~(MFC_BARRIER_MASK | MFC_FENCE_MASK | MFC_RESULT_MASK); !g_use_rtm)
{
// TODO: don't require TSX (current implementation is TSX-only)
if (cmdh == MFC_GET_CMD && g_cfg.core.spu_accurate_putlluc)
{
break;
}
if (cmdh == MFC_PUT_CMD || cmdh == MFC_SNDSIG_CMD)
{
break;

View File

@ -1345,7 +1345,7 @@ void spu_thread::do_dma_transfer(const spu_mfc_cmd& args)
src = zero_buf;
}
if ((!g_use_rtm && (!is_get || g_cfg.core.spu_accurate_putlluc)) || g_cfg.core.spu_accurate_dma) [[unlikely]]
if ((!g_use_rtm && !is_get) || g_cfg.core.spu_accurate_dma) [[unlikely]]
{
for (u32 size = args.size, size0; is_get;
size -= size0, dst += size0, src += size0)