Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-01-22 | common: Add missing include to bit_util.h | bunnei | 1 | -0/+1 | |
2021-01-21 | bit_util: Unify implementations of MostSignificantBit32/MostSignificantBit64 | Lioncash | 1 | -35/+13 | |
We can use the standardized CLZ facilities to perform this. This also allows us to make utilizing functions constexpr and eliminate the inclusion of an intrinsics header. | |||||
2021-01-15 | common/bit_util: Replace CLZ/CTZ operations with standardized ones | Lioncash | 1 | -76/+0 | |
Makes for less code that we need to maintain. | |||||
2020-08-15 | common: Make use of [[nodiscard]] where applicable | Lioncash | 1 | -17/+17 | |
Now that clang-format makes [[nodiscard]] attributes format sensibly, we can apply them to several functions within the common library to allow the compiler to complain about any misuses of the functions. | |||||
2019-06-21 | texture_cache: Optimize GetMipBlockHeight and GetMipBlockDepth | Fernando Sahmkow | 1 | -0/+44 | |
2019-04-05 | common/bit_util: Make CountLeading/CountTrailing functions have the same return types | Lioncash | 1 | -8/+8 | |
Makes the return type consistently uniform (like the intrinsics we're wrapping). This also conveniently silences a truncation warning within the kernel multi_level_queue. | |||||
2019-03-27 | Fixes and corrections on formatting. | Fernando Sahmkow | 1 | -1/+0 | |
2019-03-27 | Implement intrinsics CountTrailingZeroes and test it. | Fernando Sahmkow | 1 | -12/+33 | |
2019-03-27 | Implement a MultiLevelQueue | Fernando Sahmkow | 1 | -0/+19 | |
2018-12-21 | common: Add basic bit manipulation utility function to Common | Lioncash | 1 | -0/+61 | |