dzaima
81ce43e77f
complete comment
2025-05-22 02:28:50 +03:00
dzaima
36ba160477
fix 𝕨/𝕩 doing unchecked multiplications on +´𝕨
...
both that explicit one, and ones in the allocation functions
2025-05-22 01:45:56 +03:00
dzaima
3b5497e329
fix use-after-free in a⌾(i⊸/)𝕩
...
not actually ever problematic I believe as `w` in *_ucw always happens to have other held references, but still a bug and could become problematic in the future;
and the change is actually an improvement, bringing the SGetU computation out of paths that don't need it!
2025-05-22 01:18:04 +03:00
dzaima
04d0191d1f
handle v¨⌾(l⊸/)x with non-boolean l with fast path
2025-05-22 01:14:09 +03:00
dzaima
185a18d478
fix a⌾(b⊸/)x comparing during noAlloc
2025-05-22 00:38:47 +03:00
vylsaz
7cdbe866da
Windows: use CRT-safe _beginthreadex() rather than CreateThread(); also remove unnecessary NULL check for realloc()
2025-05-21 05:05:14 +00:00
dzaima
15bf932757
make atom decomposition equality check use eequal
...
gets rid of compound functions having observable identity if they have NaN as a component
2025-05-21 00:54:52 +03:00
dzaima
723ca38816
make native ⌾(is⊸⊏) & ⌾(m⊸/) compare NaNs as equal
2025-05-21 00:36:08 +03:00
dzaima
8046f157bf
fix •file.Type and •file.Exists on links
2025-05-19 23:51:13 +03:00
dzaima
1ab511f657
fix JIT not allocating stack capacity for empty arrays
2025-05-16 02:09:04 +03:00
dzaima
c17280d96d
cleanup
2025-05-15 00:43:53 +03:00
dzaima
b9ccafcf3f
any_squeeze → squeeze_any
2025-05-13 17:04:38 +03:00
dzaima
f1cb141f56
new squeeze functions
2025-05-13 17:04:38 +03:00
dzaima
9d11fc0cde
use C1 & C2 helpers in grade.h
...
incl. making them capable of expanding a macro F
2025-05-13 17:04:38 +03:00
dzaima
ff406c9586
better int_squeeze_sorted
2025-05-13 17:04:38 +03:00
dzaima
8146040c15
helpers for creating empty arrays
2025-05-13 17:04:32 +03:00
dzaima
6c4eae5e28
rearrange squeeze.c and make num_squeeze & chr_squeeze more sane
2025-05-13 03:32:32 +03:00
dzaima
a32c0c1722
add <ty>anyv_ptr
2025-05-13 02:26:06 +03:00
dzaima
62366d10fa
•internal.Validate
2025-05-13 00:12:59 +03:00
dzaima
09aa7b285f
debug_assert
2025-05-11 20:29:01 +03:00
dzaima
41c9a51ff3
fix unshare on heap-allocated atoms
2025-05-11 20:28:23 +03:00
dzaima
1e603f8921
fix ALLOC_STAT
2025-05-11 18:03:25 +03:00
dzaima
2020135a11
%z format string
2025-05-11 17:08:55 +03:00
dzaima
eca676bb3d
option to disable stack entry omission
...
currently only settable via gdb
2025-05-11 13:43:31 +03:00
dzaima
516205321c
fix error message of 𝔽⌾(a⊸⊏)𝕩 more
2025-05-09 01:17:51 +03:00
dzaima
f74bdf6142
improve/fix error messages around units in ⊏ & ⊑ some more
2025-05-09 01:00:41 +03:00
dzaima
8d757363e9
improve error message of 𝔽 in 𝔽⌾(a⊸⊏) returning an atom
2025-05-09 00:32:54 +03:00
dzaima
d2c27fd880
fast 𝔽⌾(num⊸⊏)arr
2025-05-09 00:21:42 +03:00
dzaima
1ecc6b3918
more proper error message for 1⌾((<⋈0)⊸⊑)↕5
2025-05-05 19:37:02 +03:00
dzaima
13906efe44
fix ⊑˘ on rank>2 inputs
2025-05-02 01:28:46 +03:00
dzaima
e32d41eb61
improve •ParseFloat error message on argument with codepoints ≥256
2025-05-01 23:09:48 +03:00
dzaima
b1ef72039c
remove use of bind
2025-05-01 23:07:33 +03:00
dzaima
419e1171aa
avoid UB on i64~~1 << 63
2025-05-01 23:07:33 +03:00
dzaima
291ff92c96
mask_scale
2025-05-01 23:07:33 +03:00
dzaima
a5c6e3271c
use tail{...} much more
2025-05-01 23:07:33 +03:00
dzaima
d1f3efe8db
get rid of shuf_ind
2025-05-01 23:07:30 +03:00
dzaima
b2c89979fe
exclude [k]u1 from vector type check helpers
2025-05-01 22:53:45 +03:00
dzaima
c811e54666
unroll bitsel
2025-05-01 22:53:45 +03:00
dzaima
2a9428239a
merge sse2.singeli and sse.singeli
2025-04-27 22:17:38 +03:00
dzaima
07e74d62d8
prepare for merging sse2.singeli and sse.singeli
...
to preserve sse2.singeli as the base file through blames
2025-04-27 22:17:38 +03:00
dzaima
ccb1f5fa34
proper x86 i32→float convert definiton
2025-04-27 22:17:38 +03:00
dzaima
f72f554a54
remove duplicate and_bit_none SSE definition
2025-04-27 22:16:50 +03:00
dzaima
a5840d0eb8
fix AVX-512 widen arch check
2025-04-27 19:12:51 +03:00
dzaima
e3a985c6e2
proper packs128 instead of packQ
2025-04-27 19:11:15 +03:00
dzaima
26055d0146
generalized x86 load/store low elts
2025-04-27 19:07:39 +03:00
dzaima
70705f9bfe
move bmi.singeli into base x86 include
2025-04-27 19:07:39 +03:00
dzaima
98f1c97653
is_pow2 helper
2025-04-24 18:31:25 +03:00
dzaima
0ec37303ea
use specified-output-type fold_addw
2025-04-24 00:26:49 +03:00
dzaima
3d52d14101
use vecfold.singeli's x86 fold_addw in count.singeli
2025-04-24 00:26:49 +03:00
dzaima
5df3712748
allow specifying result type of fold_addw, x86 impls for it
2025-04-24 00:26:49 +03:00