SPU: Optimize and enable SPU GETLLAR Polling detection by default

* Make this setting guard all reservation waitings. (renamed)
* Revert atomic list usage: it's more expensive and not needed because it has a timeout and is not optimized for the rest of the waitables.
This commit is contained in:
Eladash 2022-08-17 14:28:29 +03:00 committed by Ivan
parent 33a4f05ffa
commit 6210a8491f
3 changed files with 89 additions and 43 deletions

View file

@ -836,6 +836,8 @@ public:
u32 last_faddr = 0;
u64 last_fail = 0;
u64 last_succ = 0;
u64 last_gtsc = 0;
u32 last_getllar = umax; // LS address of last GETLLAR (if matches current GETLLAR we can let the thread rest)
std::vector<mfc_cmd_dump> mfc_history;
u64 mfc_dump_idx = 0;