mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
atomic.hpp: use u128 as storage for masks/values
This commit is contained in:
parent
43c87e99b0
commit
5f618814f6
4 changed files with 57 additions and 190 deletions
|
@ -425,18 +425,6 @@ public:
|
|||
}
|
||||
};
|
||||
|
||||
namespace atomic_wait
|
||||
{
|
||||
template <typename T>
|
||||
inline __m128i default_mask<lf_queue<T>> = _mm_cvtsi64_si128(-1);
|
||||
|
||||
template <typename T>
|
||||
constexpr __m128i get_value(lf_queue<T>&, std::nullptr_t value = nullptr)
|
||||
{
|
||||
return _mm_setzero_si128();
|
||||
}
|
||||
}
|
||||
|
||||
// Concurrent linked list, elements remain until destroyed.
|
||||
template <typename T>
|
||||
class lf_bunch final
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue