SPU: Remove inaccurate GETLLAR option

This commit is contained in:
Elad Ashkenazi 2024-06-06 18:22:21 +03:00
parent 55ed95b42c
commit ac5d907002
6 changed files with 2 additions and 16 deletions

View file

@ -4430,7 +4430,7 @@ bool spu_thread::process_mfc_cmd()
// Need to check twice for it to be accurate, the code is before and not after this check for:
// 1. Reduce time between reservation accesses so TSX panelty would be lowered
// 2. Increase the chance of change detection: if GETLLAR has been called again new data is probably wanted
if (rtime == vm::reservation_acquire(addr) && (!g_cfg.core.spu_accurate_getllar || cmp_rdata(rdata, data)))
if (rtime == vm::reservation_acquire(addr) && cmp_rdata(rdata, data))
{
if ([&]() -> bool
{
@ -4607,7 +4607,7 @@ bool spu_thread::process_mfc_cmd()
continue;
}
if (g_cfg.core.spu_accurate_getllar && !cmp_rdata(rdata, data))
if (!cmp_rdata(rdata, data))
{
i += 2;
continue;