0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00
Commit graph

4143 commits

Author SHA1 Message Date
Jason Volk
44bd60ea08 ircd::b64: Add encoding diction parameter; remove converters; reorg interface. 2020-08-10 06:19:48 -07:00
Jason Volk
486d9c1133 ircd: Replace inefficient std::replace(). 2020-08-10 04:56:28 -07:00
Jason Volk
985d21ad7c ircd: Add assertion in replace() stringop; minor cleanup. 2020-08-10 04:56:28 -07:00
Jason Volk
7ff89fbd17 ircd: Split base64 and base58 into separate namespaces. 2020-08-10 04:56:28 -07:00
Jason Volk
61287cdbe2 ircd::simd: Split unaligned type related to separate header. 2020-08-10 03:41:06 -07:00
Jason Volk
8443dcf3bb ircd::simd: Macro and diagnostic adjustments for GCC. 2020-08-09 07:44:56 -07:00
Jason Volk
f89f15eebd ircd::simd: Minor typedef cleanup. [ci skip] 2020-08-09 07:03:19 -07:00
Jason Volk
abc41ca666 ircd::base: Indicate noexcept on apropos out-of-line declarations. 2020-08-09 04:36:47 -07:00
Jason Volk
1baa590d9c ircd::fpe: Add scope_round tool.
ircd::fpe: Inline exception flag setter.

ircd::fpe: Add fesetround() wrapper.
2020-08-09 02:39:31 -07:00
Jason Volk
4a2adc4123 ircd::base: Remove allocated string convenience overloads; simplify interface. 2020-08-09 02:39:31 -07:00
Jason Volk
52bc00673e ircd::simd: Redress unaligned typedefs for proper instruction generation. 2020-08-07 02:14:27 -07:00
Jason Volk
97deec5c68 ircd::simd: Additional vector sizes and scaling template for shift suite. 2020-08-06 23:34:37 -07:00
Jason Volk
65296be413 ircd::db::database::sst: Add checksum data to info collection. 2020-08-05 22:33:33 -07:00
Jason Volk
5f96613c27 ircd: Tweak exception stack linkages for optimal code generation. 2020-08-05 19:52:48 -07:00
Jason Volk
1023d0eab2 ircd: Delete unspecialized template for lex_castable. 2020-08-05 19:16:04 -07:00
Jason Volk
32baa1a6bc ircd: Indicate noexcept for lex_castable template suite. 2020-08-05 19:12:22 -07:00
Jason Volk
1482972e87 ircd:Ⓜ️:error: Use inline linkage for main constructor template. 2020-08-05 18:48:32 -07:00
Jason Volk
1604ecd038 ircd::json::tuple: Use inline linkage for key() suite related. 2020-08-05 18:42:24 -07:00
Jason Volk
9f09eb6581 ircd::json::value: Inline trivial indirections. 2020-08-05 17:27:54 -07:00
Jason Volk
f87eefbe04 ircd::json: Inline strung template ctor. 2020-08-05 02:18:56 -07:00
Jason Volk
df619e6010 ircd::db::column: Indicate noexcept for various out-of-lines. 2020-08-04 23:30:19 -07:00
Jason Volk
153354c63f ircd::json::tuple: Indicate various closures are noexcept. 2020-08-04 18:53:18 -07:00
Jason Volk
23bfdb070d ircd::json::tuple: Use inline linkage; prevent non-constexpr outlining; use literal argument type. 2020-08-04 18:50:55 -07:00
Jason Volk
ae65ffdcbe ircd::json::tuple: Use constexpr conditional in indexof() template. 2020-08-04 18:50:55 -07:00
Jason Volk
541997ab9d ircd: Add template for constexpr literal overloads. 2020-08-04 18:50:55 -07:00
Jason Volk
7b335a8285 ircd::util: Move _constexpr_equal() out of util for now. 2020-08-04 16:50:56 -07:00
Jason Volk
4e14c9c835 ircd::json::tuple: Inline constructors. 2020-08-04 15:50:04 -07:00
Jason Volk
20d7a8ee62 ircd::json::tuple: Use structure bound range iteration rather than library. 2020-08-04 15:49:55 -07:00
Jason Volk
9eed4dfa5f ircd:Ⓜ️:event::fetch: Use hidden section for non-plt/internal linkage. 2020-08-02 09:43:39 -07:00
Jason Volk
45f43dd46a ircd::json: Use inline linkage; prevent PLT entries. 2020-08-02 09:13:08 -07:00
Jason Volk
117e1c0f94 ircd::json::tuple: Move exception construction out of the hotline. 2020-08-02 07:32:22 -07:00
Jason Volk
59197ee2d5 ircd::ios: Add epoch history in circular buffer for profiling w/ console cmd. 2020-08-02 05:45:35 -07:00
Jason Volk
a4e21ae111 ircd: Check and include standard execution policies header. 2020-07-31 22:12:14 -07:00
Jason Volk
b3c4583dd0 ircd::cbor: Remove cruft; collapse directory for now. 2020-07-31 21:34:45 -07:00
Jason Volk
2e35ec3d77 Revert _SC_CLK_TCK removal for convenience and exotic systems.
This reverts commit 1c1ceeacba.
2020-07-31 19:17:06 -07:00
Jason Volk
1877972828 ircd:Ⓜ️:groups: Start namespace, central lib; preliminary client resource module. 2020-07-30 10:24:10 -07:00
Jason Volk
2f6f2af06f Reserve EXTRA_* flag sets for user.
configure: Move unit configuration section above application settings.

configure: -fasm-blocks not yet useful without GCC parity.
2020-07-30 06:38:51 -07:00
Jason Volk
4b7ebb3cf0 ircd::db: Elide std::function wrapping for equal comparator (related 6c2736f592). 2020-07-28 01:24:27 -07:00
Jason Volk
2e1fc0c234 ircd::db: Inline some trivial default comparators. 2020-07-28 01:22:02 -07:00
Jason Volk
6c2736f592 ircd::db::comparator: Elide std::function wrapper for less function. 2020-07-28 00:38:46 -07:00
Jason Volk
41db97fec0 ircd::db: Make default comparators noexcept. 2020-07-28 00:38:46 -07:00
Jason Volk
554090adcc ircd::db::comparator: Use typedefs for prototype formulations. 2020-07-28 00:38:46 -07:00
Jason Volk
1a756f637f ircd::spirit: Isolate aggressive inlining; remove unit-level setting. 2020-07-24 23:47:08 -07:00
Jason Volk
582860f789 ircd: Use strip(n=1) for unquote() tool. 2020-07-23 13:08:30 -07:00
Jason Volk
238a473b08 ircd: Add strip(n) proxy overloads to interface. 2020-07-23 13:08:30 -07:00
Jason Volk
1c1ceeacba ircd::info: Remove cruft. 2020-07-22 02:00:05 -07:00
Jason Volk
d3007544e9 ircd::json: Remove flatten; stricter visibility. 2020-07-19 21:03:27 -07:00
Jason Volk
e3fe10d853 ircd::spirit: Add custom_parser stub. 2020-07-18 23:55:12 -07:00
Jason Volk
3a70943b94 ircd::simd: Split bit manipulations suites to headers; renames. 2020-07-17 16:46:43 -07:00
Jason Volk
291038a014 ircd::simd: Portabilities for clz on various x86. 2020-07-17 07:17:17 -07:00
Jason Volk
0e37275773 ircd::simd: Add broad_cast template. 2020-07-15 17:43:17 -07:00
Jason Volk
566029bdb0 ircd::utf16: Remove cruft. 2020-07-14 18:20:08 -07:00
Jason Volk
63f43ba60a ircd::simd: Attribute target lzcnt feature. 2020-07-12 15:21:00 -07:00
Jason Volk
4184309ff2 ircd::info: Add avx512f indicator; remove cruft; tweak info dump string. 2020-07-12 11:17:41 -07:00
Jason Volk
52013c1ee0 ircd::ctx::list: Reduce out-of-line accessor surface. 2020-07-11 18:51:19 -07:00
Jason Volk
6ec9b2a783 ircd: Specify explicit noexcept for gcc-10 issue. 2020-07-11 17:57:33 -07:00
Jason Volk
5ef1a67c99 include/ircd/Makefile: Fix order of flag groups to compile PCH. 2020-07-11 17:57:33 -07:00
Jason Volk
47290aab67 ircd::prof: Remove unnecessary attribute for gcc. 2020-07-11 15:53:58 -07:00
Jason Volk
cd95b7cd8d ircd::ctx: Specify inline linkage for various templates to prevent any dynsyms. 2020-07-11 15:41:57 -07:00
Jason Volk
8ffa5c55a5 ircd::ctx::latch: Replace closure w/ simple bind statement. 2020-07-11 14:07:08 -07:00
Jason Volk
ef778b07bf ircd::info: Detect sse4a; guest. 2020-07-11 13:49:08 -07:00
Jason Volk
2b0c3addfe ircd: Fix inlining attributes for clang-10. 2020-07-10 20:04:39 -07:00
Jason Volk
04e87b0095 ircd::simd: Fix constexpr-if failure in gcc-8. 2020-07-10 02:41:02 -07:00
Jason Volk
b1a60451b7 ircd::simd: Simplify traits constexprs. 2020-07-09 20:18:35 -07:00
Jason Volk
60d2f04c14 ircd::buffer: Add pointer alignment check tool to suite. 2020-07-09 20:18:35 -07:00
Jason Volk
2f9aa15fc0 ircd::utf: Eliminate recasting for shift. 2020-07-09 19:45:42 -07:00
Jason Volk
e730c1a0bb ircd::buffer: Add ifdef for clang; mark todo for gcc. 2020-07-08 17:22:19 -07:00
Jason Volk
ce551e6bd4 ircd::buffer: Minor simplify. 2020-07-08 17:20:47 -07:00
Jason Volk
026cce95b7 ircd::buffer: Add alignment related constexpr convenience utils. 2020-07-08 16:27:27 -07:00
Jason Volk
8777add24e ircd::buffer: Added padded() alignment query util. 2020-07-08 16:27:27 -07:00
Jason Volk
f1c8eb3c1c ircd::buffer: Add experimental non-temporal copy device. 2020-07-08 16:27:27 -07:00
Jason Volk
2235acae61 ircd::buffer: Split copy() and move() suites to files. 2020-07-08 16:27:20 -07:00
Jason Volk
91d57ea989 ircd:Ⓜ️:vm: Add content requirement and redaction hint opts for non-conforming mask. 2020-07-06 17:31:04 -07:00
Jason Volk
6195be54a5 ircd::simd: Split and improve byte shifter interface. 2020-07-06 17:31:04 -07:00
Jason Volk
0e6a6ea0b1 ircd::json: Replace char generator w/ new vectorized string streaming. (fixes #158) (fixes #159) 2020-07-03 16:35:28 -07:00
Jason Volk
76a16469fb ircd::utf: Internal template for utf8::encode() w/ additional lane choices for interface. 2020-07-03 14:17:36 -07:00
Jason Volk
d6d4c0b80a ircd::utf16: Add aligned escaped hex surrogate decoder. 2020-07-03 13:19:57 -07:00
Jason Volk
c9c61124e7 ircd::utf8: Add multiple lane overloads for length(); internal template; minor comments. 2020-07-02 16:38:59 -07:00
Jason Volk
35bee76625 ircd::simd: Add clz/ctz convenience template suite for now; minor reorg. 2020-07-01 16:28:21 -07:00
Jason Volk
aec21af0e4 ircd::simd: Add population mask convenience template. 2020-07-01 07:03:11 -07:00
Jason Volk
e3e6bb8dbf ircd::utf16: Additional surrogate scan tools; minor reorg interface. 2020-07-01 07:03:11 -07:00
Jason Volk
75ac474e05 ircd::utf16: Add escaped surrogate scan tool.
ircd::utf16: Add surrogate mask routine; minor interface rename.
2020-06-28 19:14:44 -07:00
Jason Volk
abea8ad5b8 ircd::simd: Use value arguments for optimal calling convention. 2020-06-28 18:22:18 -07:00
Jason Volk
86aa96fa91 ircd::simd: Split lane_cast into header. 2020-06-28 16:37:00 -07:00
Jason Volk
bbaeb09c2d ircd::utf: Add unpacked decode; de-template for linkage; minor reorg. 2020-06-27 20:03:59 -07:00
Jason Volk
b94c5d370f ircd::utf: Move definitions out-of-line for now. 2020-06-27 18:10:36 -07:00
Jason Volk
cdc6c03ec6 ircd::simd: Improve lane_cast related template. 2020-06-27 16:31:57 -07:00
Jason Volk
d26fed6a20 ircd::simd: Add basic traits constexprs. 2020-06-27 16:31:57 -07:00
Jason Volk
73ee602542 ircd::utf: Start an inline utf toolset. 2020-06-27 16:31:57 -07:00
Jason Volk
ac21ebdc90 ircd::simd: Expose SIMD utils to standard include group; split header into dir. 2020-06-27 16:31:57 -07:00
Jason Volk
0182f18b15 ircd: Add ircd.h to matrix.h target deps list. 2020-06-27 14:24:50 -07:00
Jason Volk
d31edde88b ircd: Cleanup/reorg of stdinc contents; remove experimental. 2020-06-27 14:24:34 -07:00
Jason Volk
ad8f3bd878 ircd::icu: Add encoding transform to suite; minor rename. 2020-06-25 18:36:18 -07:00
Jason Volk
4aae2c4963 ircd: Add <cuchar> to standard include group. 2020-06-25 17:19:01 -07:00
Jason Volk
6a33be4494 ircd::simd: Add ymmx shifter specializations. 2020-06-25 12:55:22 -07:00
Jason Volk
1ad2a1546a ircd::simd: Simplify string/debug interface. 2020-06-25 12:54:38 -07:00
Jason Volk
99f203a4b7 ircd::simd: Add xmmx shifter workaround tools; reorg header. 2020-06-25 12:54:38 -07:00
Jason Volk
001bd12287 ircd::simd: Add lane number constant tables. 2020-06-24 15:16:47 -07:00
Jason Volk
526271e8cd ircd::simd: Add preliminary debug print utils. 2020-06-24 11:00:11 -07:00
Jason Volk
d456a42cdd ircd::json: Add stats items counting calls and cycles on input and output. 2020-06-24 11:00:11 -07:00