Change utils::popcnt16 to popcnt32

Use __builtin_popcount if available.
This commit is contained in:
Nekotekina 2019-06-02 00:16:41 +03:00
parent dfd50d0185
commit 0333942795
2 changed files with 13 additions and 10 deletions

View file

@ -267,7 +267,7 @@ void cond_x16::imp_notify() noexcept
return;
}
balanced_awaken<true>(m_cvx16, utils::popcnt16(wait_mask));
balanced_awaken<true>(m_cvx16, utils::popcnt32(wait_mask));
}
bool lf_queue_base::wait(u64 _timeout)