mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
atomic.cpp: continuation of fixing all-ones masks
Also added missing const noexcept.
This commit is contained in:
parent
cfda4d0ade
commit
e48f160a29
2 changed files with 26 additions and 11 deletions
|
|
@ -1391,7 +1391,7 @@ bool atomic_wait_engine::raw_notify(const void* data, u64 thread_id)
|
|||
{
|
||||
for (u64 bits = s_cond_bits[i / 64]; bits; bits &= bits - 1)
|
||||
{
|
||||
utils::prefetch_read(s_cond_list + i + std::countl_zero(bits));
|
||||
utils::prefetch_read(s_cond_list + i + std::countr_zero(bits));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue