Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid unreachable() in assume_aligned | Chris Robinson | 2022-12-18 | 1 | -4/+6 |
| | | | | | Another test to attempt to workaround MSVC build problems. Also, don't assume bit-wise value alignment for pointers as a default fallback. | ||||
* | Revert "Change the order of compiler checks in assume_aligned" | Chris Robinson | 2022-12-18 | 1 | -7/+5 |
| | | | | This reverts commit 14d7809a89ea51ca663a7ebf09e7bc135b904d5d. | ||||
* | Change the order of compiler checks in assume_aligned | Chris Robinson | 2022-12-18 | 1 | -5/+7 |
| | | | | Testing to see if this works around issues with MSVC builds | ||||
* | Implement an al::unreachable wrapper/helper | Chris Robinson | 2022-12-13 | 1 | -8/+19 |
| | |||||
* | Avoid using a macro to wrap standard attributes | Chris Robinson | 2022-12-06 | 1 | -8/+0 |
| | |||||
* | Avoid LIKELY/UNLIKELY macros | Chris Robinson | 2022-12-05 | 1 | -6/+4 |
| | |||||
* | Use standard likely/unlikely attributes when available | Chris Robinson | 2022-12-05 | 1 | -25/+11 |
| | |||||
* | Added missing header file for std::assume_aligned. (C++20) (#724) | Hongtae Kim | 2022-07-05 | 1 | -1/+1 |
| | |||||
* | Add missing include | Chris Robinson | 2022-03-30 | 1 | -0/+1 |
| | |||||
* | Move assume_aligned to opthelpers.h and define force_inline | Chris Robinson | 2022-03-30 | 1 | -4/+38 |
| | |||||
* | Slightly improve code flow for ASSUME | Chris Robinson | 2022-03-29 | 1 | -1/+1 |
| | |||||
* | Forward the (un)likely expression being cast to bool | Chris Robinson | 2022-02-24 | 1 | -4/+7 |
| | |||||
* | Avoid using an if_constexpr macro | Chris Robinson | 2022-02-22 | 1 | -6/+0 |
| | | | | | It doesn't actually use if constexpr, and compilers are smart enough to optimize. Some functions can use templates instead. | ||||
* | Make a couple more operator bools explicit | Chris Robinson | 2022-02-20 | 1 | -4/+10 |
| | |||||
* | Simplify and combine a couple macros | Chris Robinson | 2021-12-18 | 1 | -8/+8 |
| | |||||
* | Make simpler likely/unlikely functions and use them in some places | Chris Robinson | 2021-10-03 | 1 | -0/+4 |
| | |||||
* | Fix __cplusplus value check | Chris Robinson | 2021-01-22 | 1 | -1/+1 |
| | |||||
* | Use if constexpr when possible | Chris Robinson | 2021-01-22 | 1 | -0/+6 |
| | |||||
* | Reorder definitions to keep them near each other | Chris Robinson | 2020-12-05 | 1 | -13/+13 |
| | |||||
* | Modify LIKELY and UNLIKELY to not need extra parenthesis | Chris Robinson | 2019-08-04 | 1 | -2/+2 |
| | |||||
* | Use false instead of 0 for a boolean | Chris Robinson | 2019-03-24 | 1 | -2/+2 |
| | |||||
* | Move some macros to a common header | Chris Robinson | 2019-01-07 | 1 | -0/+39 |