0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 00:02:34 +01:00
Commit graph

21 commits

Author SHA1 Message Date
Jason Volk
4371380fe9 configure: Add --enable-clones for dynamic function multi-versioning. 2023-03-05 12:05:13 -08:00
Jason Volk
45a3b8765f ircd::portable: Fix __builtin_unpredictable macro, takes no value argument. 2023-02-12 19:19:56 -08:00
Jason Volk
3f82d32619 ircd: Mitigate __builtin_assume w/ side-effects diagnosed (arguably incorrect) and ignored. 2023-02-09 11:11:01 -08:00
Jason Volk
855648de15 ircd: Add __has_feature / __has_cpp_attribute portable macros. 2023-02-07 20:04:26 -08:00
Jason Volk
dbf9407442 ircd: Remove gratuitous alignment attributes. 2023-01-15 22:32:00 -08:00
Jason Volk
1148532894 ircd: Add shorthand to unpredictable branch attribute. 2022-11-07 01:51:19 +00:00
Jason Volk
1f57c224c6 ircd: Fix missing __has_builtin; minor cleanup. 2022-10-09 00:40:47 +00:00
Jason Volk
b1f1e003d2 ircd::spirit: Fix missing include guard/pragma; minor cleanup/comments. 2022-06-17 21:11:53 -07:00
Jason Volk
96b101cd6f ircd: Promote assume() to macro in portable.h.
Revert "ircd: Add assume() convenience wrapping for __builtin_assume()."

This reverts commit 597f60cf6b.
2022-06-17 21:11:53 -07:00
Jason Volk
20f81c55ea ircd: Move some typedefs to portable; minor reorg. 2021-04-22 12:27:57 -07:00
Jason Volk
f096e7fcf5 ircd: Typedef uchar if necessary. 2021-04-22 12:27:56 -07:00
Jason Volk
9c75d72120 ircd: Move assert related macros from portable.h to assert.h; simplify. 2020-12-09 23:50:49 -08:00
Jason Volk
9e085c49c5 ircd: Move lfence to __assert_fail(); simplify macro. 2020-12-06 10:27:27 -08:00
Jason Volk
876bbe906c ircd: Ensure typedef'ed 128-bit integers are properly aligned. (#156) 2020-10-08 20:49:49 -07:00
Jason Volk
5294a8e78b ircd::portable: Remove todo (would prevent macro-op fusion). 2020-09-19 07:47:21 -07:00
Jason Volk
37734e1260 ircd::portable: Remove fenced assert for GCC due to error when used in constexprs. 2020-06-09 05:14:43 -07:00
Jason Volk
be07ae05b2 ircd::portable: Optimize redefined macro if conditions are favorable. 2020-06-05 04:32:57 -07:00
Jason Volk
cefee45147 ircd: Add portable __is_identifier(); add convenience typedef for long long. 2020-04-27 14:03:06 -07:00
Jason Volk
6bbc78116d ircd: Add portable macro for __has_builtin(). 2020-04-24 21:58:57 -07:00
Jason Volk
21d9f4792b configure: Disable all __assert_fail() overrides unless explicit --with-assert option. 2020-04-11 15:11:43 -07:00
Jason Volk
4bef7dca7b ircd: Split stdinc into additional macros header. 2020-02-21 12:22:56 -08:00