Commit Graph

3684 Commits

Author SHA1 Message Date
dzaima
d9007c3136 use errMd more 2025-06-11 18:07:31 +03:00
dzaima
634cf82fbe use reshape_one instead of manual mut_fill more 2025-06-11 17:47:14 +03:00
dzaima
abb9adbc50 make SEMANTIC_CATCH work without USE_SETJMP 2025-06-11 17:47:14 +03:00
dzaima
53f331112f don't have weird "𝕨˘𝕩" in error messages 2025-06-11 17:24:45 +03:00
dzaima
2a853dbfcd cleanup 2025-06-11 00:47:11 +03:00
dzaima
a756174483 fix WARN_SLOW build
WARN_SLOW has generally been forgotten about, but no harm keeping it working; this looks at x's bits explicitly after it's consumed, but it's not dereferenced so it's "fine"
2025-06-09 23:02:17 +03:00
dzaima
b95fb8097d debug assert for proper getter indices 2025-06-09 18:54:18 +03:00
dzaima
c294b07f5f don't bother raveling a rank-1 array for replicating 2025-06-09 18:07:31 +03:00
dzaima
671efcc948 better inlining split 2025-06-08 23:49:20 +03:00
dzaima
8c22564b41 better 64-bit CHECK_IA
allows it to be lowered to (x>>48)==0, avoiding initializing a 64-bit constant
2025-06-08 23:49:18 +03:00
dzaima
0b678bc274 move some fill/eltype array creation helpers into core includes 2025-06-08 21:53:19 +03:00
dzaima
2447eb25cf semantically squeeze F⌜ result 2025-06-08 18:55:38 +03:00
dzaima
286067ad51 some F⌜ shape management refactoring
avoids having two arr_shAlloc invocations, and also makes ⊢⌜ direct
2025-06-08 18:35:57 +03:00
dzaima
c90674313b reduce reshape+replicate-based Arith⌜ constant overhead 2025-06-08 18:10:01 +03:00
dzaima
0a561bce2b better number/character fill checks
as the only valid number fill is 0, full isNum check is pointless
2025-06-08 17:50:37 +03:00
dzaima
2447ebe734 faster emptyArr 2025-06-08 17:10:01 +03:00
dzaima
11da303f4c final test cleanup 2025-06-07 20:06:15 +03:00
dzaima
7db91b9785 modernize imports test 2025-06-01 17:42:22 +03:00
dzaima
2918436b08 make test/run lint not complain on lines with _eqvar 2025-06-01 07:08:59 +03:00
dzaima
2f18d6d72d drop "test/cases/" prefix from test/run.bqn args if present
allows autocompleting
2025-06-01 07:07:18 +03:00
dzaima
2f18c0546f split up & move test/various.bqn to test/run.bqn system 2025-06-01 07:03:24 +03:00
dzaima
a987efea5b move test/hashmap.bqn to test/run.bqn system 2025-06-01 07:03:24 +03:00
dzaima
405d0ee0e1 move test/random.bqn to test/run.bqn system 2025-06-01 07:03:24 +03:00
dzaima
01fea8904d move test/mut.bqn to test/run.bqn system 2025-06-01 07:03:19 +03:00
dzaima
6812185e06 move test/copy.bqn to test/run.bqn system 2025-06-01 06:08:58 +03:00
dzaima
3da8a8931b move test/cmp.bqn to test/run.bqn system 2025-06-01 06:07:50 +03:00
dzaima
6a5ce4c11b move test/equal.bqn to test/run.bqn system 2025-06-01 06:07:44 +03:00
dzaima
315d8681d1 move test/bit.bqn to test/run.bqn system 2025-06-01 06:06:50 +03:00
dzaima
2da4422434 move test/hash.bqn to test/run.bqn system 2025-06-01 06:06:50 +03:00
dzaima
b049fe196d move test/squeezeValid.bqn & test/squeezeExact.bqn to test/run.bqn system 2025-06-01 06:06:25 +03:00
dzaima
a57afad9d7 move test/bitcpy.bqn to test/run.bqn system 2025-06-01 06:05:34 +03:00
dzaima
c67afd6e52 add a way to allow ⎊-ful tests to run in noerr mode 2025-06-01 05:55:55 +03:00
dzaima
5d7caab374 add a way to define whole-file tests with test/run.bqn 2025-06-01 05:40:14 +03:00
dzaima
7d55317ec4 add a way to get a seeded random source from test/run.bqn 2025-06-01 05:40:14 +03:00
dzaima
4296c42534 fix unshare with heuristic randomization 2025-06-01 05:40:14 +03:00
dzaima
b768332c03 explicit 2x unroll for x86 copy.singeli
clang was unrolling ~8x anyway, but without ability to uninterleave the loads & stores
2025-06-01 04:50:21 +03:00
dzaima
9a2ecada1e fix seed=u 2025-05-31 19:53:48 +03:00
dzaima
88f2eb6b87 fast ↕list when (64≥≠list) ∧ ∧´list∊1‿2, typed result otherwise 2025-05-31 19:41:03 +03:00
dzaima
3f0e696add move bit_reverse to stuff.h
+ explicitly note its operating width
2025-05-31 19:04:12 +03:00
dzaima
433d20fc61 validate fill in debug builds 2025-05-31 19:03:50 +03:00
dzaima
e2e73a5987 always define DEBUG to 1 or 0 2025-05-31 19:03:50 +03:00
dzaima
f843c7e96d proper name 2025-05-30 06:44:58 +03:00
dzaima
c203ed2b91 update slash.singeli to use more helpers
also makes the [16]i8-shuffle-based method on T==i8 load only 8 bytes, instead of an unnecessary 16
2025-05-30 06:22:22 +03:00
dzaima
13a64e4f56 AVX-512 masked_mov & compress 2025-05-30 06:16:13 +03:00
dzaima
bbc47cd81e AVX-512 lowelt_mask 2025-05-30 06:16:13 +03:00
dzaima
d048cf66fa implement AVX-512 mask reinterprets via hom_to_int & int_to_mask 2025-05-30 06:16:13 +03:00
dzaima
ac2dcb711b use intrinsic name generators more 2025-05-30 06:16:13 +03:00
dzaima
1d3413f6ea full vector broadcasting via broadcast{[k*n]E, v:[k]E} 2025-05-30 06:16:13 +03:00
dzaima
b1e561d7ed more explicit broadcast{[k]E, val} definition 2025-05-30 06:16:13 +03:00
dzaima
309fc75d9f more helpers for x86 intrinsics 2025-05-30 06:16:13 +03:00