dzaima
75fe558f1c
detect writes past the end of a TALLOC allocation
2022-12-27 02:29:24 +02:00
dzaima
013897cc16
add runtime calls to WARN_SLOW
2022-12-26 23:15:56 +02:00
dzaima
48c2425e8b
check result size being too large in ↑
2022-12-26 18:16:11 +02:00
dzaima
af978bbc91
cave in and initialize variables in gcc
2022-12-03 23:58:33 +02:00
dzaima
e4f4864ed2
define CBQN_EXPORT by default, add macro test for exactly gcc
2022-12-03 23:19:24 +02:00
dzaima
a48f1f5eb0
fix -DMM=0
2022-11-17 18:56:46 +02:00
dzaima
e5a9c7536d
array tail overwriting checker
2022-11-17 18:56:46 +02:00
dzaima
360aabb7cc
option to noinline mm_alloc & mm_free
2022-11-17 18:56:46 +02:00
dzaima
8e631d7177
always take size in mm_alloc as u64
2022-11-14 22:42:32 +02:00
dzaima
28d434a201
catch double-frees in debug mode
2022-11-06 02:11:12 +02:00
dzaima
702d4e979d
various utility changes
2022-10-08 19:03:41 +03:00
dzaima
7bda795365
fix gcc warnings about pointer casts in 32-bit builds
2022-10-07 12:57:59 +03:00
dzaima
5c87c291f9
refactor unroll/vectorization disabling macros
2022-09-25 14:49:57 +03:00
dzaima
43ddb9759c
inline part of depth
2022-09-18 21:58:53 +03:00
dzaima
89503ba1c1
don't not check top bits in LIKELY & RARE
2022-09-12 19:51:07 +03:00
Marshall Lochbaum
bb3ecdca6a
Sparse Where
2022-09-10 09:12:16 -04:00
dzaima
59e947cc20
more consistent type checking & conversion functions
2022-09-07 23:56:03 +03:00
dzaima
734e9fc116
better type checking helpers
2022-09-07 23:38:51 +03:00
dzaima
5112796cfd
move m_unit out of header file
2022-08-21 15:48:04 +03:00
dzaima
1694bfb7d2
s?p?rnk(x) → S?P?RNK(x)
2022-08-20 08:36:59 +03:00
dzaima
e10f13d6ea
x->type → TY(x) / PTY(x)
2022-08-20 08:30:12 +03:00
dzaima
d2a4efe4b5
x->sh → SH(x) / PSH(x)
2022-08-20 08:30:07 +03:00
dzaima
e6b4f85662
x->ia → IA(x) / PIA(x)
2022-08-20 08:30:03 +03:00
dzaima
b1300e6e76
yet another string function rename
2022-08-18 09:07:32 +03:00
dzaima
3ab92ecd66
explicit pointer → u64 conversion
...
work towards gcc 32-bit x86 builds. (gcc sign-extended pointers without this changeset)
gcc miscompiles `union B` usage though (https://godbolt.org/z/hEWKdc5PK ), which I can do nothing about, so clang is still the only option for 32-bit x86 builds
2022-08-10 10:20:48 +03:00
dzaima
c1b66c5982
don't bother iterating through generic array items in cpy.*Arr on free
2022-07-24 00:05:42 +03:00
dzaima
b43153495a
a bit more valgrind debugging stuff
2022-07-10 06:07:28 +03:00
dzaima
0b155e4416
simpler vg_pext_u64 tail handling
...
that makes it not get SIMD-mangled when optimizations are enabled, thus allowing valgrind to preserve vbits
2022-07-10 04:02:49 +03:00
dzaima
f27ba6d569
even more microoptimization
2022-06-30 16:25:29 +03:00
dzaima
fadde40f78
more incG
2022-06-26 23:48:30 +03:00
Antti Keränen
0314f55a78
support calling explain for an expression
2022-06-18 22:09:36 +03:00
dzaima
e3da1da8f6
properly error on alias list being assigned to non-namespace
2022-06-14 03:36:40 +03:00
dzaima
5e0bda6a28
ARMO & ARMM
2022-06-14 02:09:41 +03:00
dzaima
025043b84e
make arr_shVec return its argument
2022-06-10 00:08:13 +03:00
dzaima
a298bc3018
more function name cleanup
2022-06-09 18:12:15 +03:00
dzaima
5636c1e2ca
clean up some function names
2022-06-09 04:10:46 +03:00
dzaima
e7cc64aa89
nounroll
2022-05-14 12:26:42 +03:00
dzaima
a601ba6a76
very unfinished FFI
2022-05-11 22:30:14 +03:00
dzaima
acc8e35c2f
•file.MapBytes
2022-04-09 19:45:14 +03:00
dzaima
69067b8fcc
decG round 2
2022-04-07 15:15:28 +03:00
dzaima
9b8f8f3725
decG round 1
2022-04-07 13:56:11 +03:00
dzaima
4a316c9398
don't include setjmp.h when CATCH_ERRORS=0
2022-04-06 18:52:54 +03:00
dzaima
ea5abeff18
simpler o2bu
2022-04-04 21:29:37 +03:00
dzaima
d2674db956
heap dump
2022-03-06 15:38:30 +02:00
dzaima
0c79b44ae0
output errors to stderr
2022-03-05 02:32:28 +02:00
dzaima
022d760c95
rethrow(), fix •primitives after errored •ReBQN execution
2022-03-04 18:29:21 +02:00
dzaima
2049686527
•term
2022-02-16 01:41:46 +02:00
Marshall Lochbaum
69e496f7fa
Avoid •bit._cast aliasing, and all copying by using slices
2022-02-04 16:23:17 -05:00
Marshall Lochbaum
289763d1d1
Fix IS_ARR and IS_SLICE macro definitions
2022-02-04 16:13:40 -05:00
dzaima
c27c244ccc
add some extra casts for ARM clang
2022-01-26 16:59:56 +02:00