Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build: Move feature test macros to prelude.h | Tavian Barnes | 2024-08-28 | 1 | -2/+0 |
| | | | | | | This replaces the explicit CPPFLAGS list in flags.mk with just `-include src/prelude.h`, shortening our compiler command lines and allowing them to be easily documented. | ||||
* | prelude: Split bfs-specific utilities into new bfs.h header | Tavian Barnes | 2024-08-28 | 1 | -0/+3 |
| | |||||
* | prelude: Define __SANITIZE_*__ | Tavian Barnes | 2024-08-28 | 1 | -2/+1 |
| | |||||
* | atomic: Fix RISC-V build with GCC < 14 | Tavian Barnes | 2024-06-06 | 1 | -1/+1 |
| | | | | | | | | | | | | Prior to GCC 14.1, the __builtin_riscv_pause() can cause an error if the appropriate extension is not enabled in -march: /tmp/ccR1L1lA.s: Assembler messages: /tmp/ccR1L1lA.s:670: Error: unrecognized opcode `pause', extension `zihintpause' required Link: https://gcc.gnu.org/pipermail/gcc-patches/2023-August/626748.html Link: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=c2d04dd659c499d8df19f68d0602ad4c7d7065c2 Link: https://buildd.debian.org/status/fetch.php?pkg=bfs&arch=riscv64&ver=3.3.1-1&stamp=1717488400&raw=0 | ||||
* | atomic: Add a spin_loop() hint | Tavian Barnes | 2024-05-15 | 1 | -0/+14 |
| | |||||
* | atomic: Add atomic_{thread,signal}_fence() wrappers | Tavian Barnes | 2024-05-15 | 1 | -0/+19 |
| | |||||
* | atomic: Add shorthands for explicit atomic operations | Tavian Barnes | 2023-06-12 | 1 | -0/+85 |