dzaima
fc800ee191
remove debug include
2024-08-14 15:06:43 +03:00
dzaima
ef1ea4ad0f
make gcc not complain about break
...
funky
2024-08-14 05:25:13 +03:00
dzaima
2ca2c52c16
use direct bitwiden & bitnarrow in select-rows
2024-08-14 05:18:13 +03:00
dzaima
d95a792230
add bitwiden & bitnarrow to header
2024-08-14 05:18:13 +03:00
dzaima
d0f30bd717
extract direct pointer version of bitnarrow
2024-08-14 05:18:13 +03:00
dzaima
d676663f45
better unaligned load option for bitwiden
2024-08-14 05:18:13 +03:00
dzaima
6e8c6d2e10
extract direct pointer version of bitwiden
2024-08-14 05:18:13 +03:00
dzaima
7eb2b97e29
use COPY_TO_FROM in cpyU16Bits & cpyU8Bits
2024-08-14 05:18:13 +03:00
dzaima
c445f24aae
COPY_TO_FROM
2024-08-14 05:18:13 +03:00
dzaima
9b515c3fad
reverse pointer arguments of copy.singeli exports
2024-08-14 05:18:13 +03:00
dzaima
6d7648c947
more things that could be select-rows'd
2024-08-14 05:18:13 +03:00
dzaima
f6c52ef3b3
disable Singeli bitwiden on SSE2
2024-08-14 05:18:13 +03:00
dzaima
f356ba0f36
more definitions in base.singeli
2024-08-14 05:18:13 +03:00
dzaima
3fc92eceaa
include util/tup in base.singeli
2024-08-14 05:18:13 +03:00
dzaima
a9460da19c
more missing NEON comments
2024-08-14 05:18:13 +03:00
dzaima
eccbac37ab
aarch64 8→n bitnarrow
2024-08-14 05:18:13 +03:00
dzaima
c72ed51149
Singeli n→8 bitwiden
2024-08-14 05:18:13 +03:00
dzaima
f36cefc9ac
more Singeli utils
2024-08-14 05:18:13 +03:00
dzaima
5748833060
fast inds⊸⊏˘bits for ≤8-bit input & output cells
2024-08-14 05:18:13 +03:00
dzaima
920a89f019
native ⋈⁼ & ⌾⋈
...
plus some more undo & under tests
2024-08-14 05:18:13 +03:00
dzaima
ae0d392d43
tyarrv_free
2024-08-14 05:02:24 +03:00
dzaima
46b63125bc
ARBITRARY & GUARANTEED
2024-08-14 05:02:24 +03:00
dzaima
2c36a3e399
fix ⟨1‿2⟩⊸⊏˘ mat
2024-08-09 00:36:23 +03:00
dzaima
3716162e69
use q_fbit more
2024-08-09 00:32:27 +03:00
dzaima
e0facc54f8
minor src/README.md cleanup
2024-08-09 00:32:27 +03:00
dzaima
8e49fc04bb
--replxx-read-only
2024-08-09 00:32:27 +03:00
dzaima
ced082cc82
use custom valgrind pdep/pext everywhere
2024-08-09 00:32:27 +03:00
dzaima
d1469df96b
fix out-of-bounds load on empty replxx line
...
`chars[0] == ')'` was branching on empty data; not UB due to custom heap
usage and the code that does run is harmless, but still hit under
valgrind
2024-08-09 00:32:27 +03:00
dzaima
bdb5781ef7
make bitp_get & bitp_set load/store u8 instead of u64
2024-08-09 00:32:27 +03:00
dzaima
64b69700c5
include last power of two in fast-path ⌽˘
2024-08-09 00:32:27 +03:00
dzaima
bc81b26a03
use fast path for inds⊸⊏˘el_B and ⌽˘el_B
2024-07-29 01:51:59 +03:00
dzaima
6900ae4b68
fix ⌽˘ 0‿10⥊2 and (↕0)⊸⊏˘ 10‿10⥊2
2024-07-29 00:45:01 +03:00
dzaima
52f36c61c0
fix 0‿1⊸⊏˘3‿1⥊2; accept any non-empty array x in select_rows_typed→select_rows_direct
2024-07-29 00:25:09 +03:00
dzaima
3a722b552f
⌽⎉1 x via (⌽↕¯1⊑≢x)⊸⊏⎉1 x
2024-07-28 22:24:34 +03:00
dzaima
081b928cb4
fix zip_halves being weird
2024-07-28 05:10:46 +03:00
dzaima
ffc250eb0e
clearer aarch64 zip_halves mzip usage
2024-07-28 04:02:54 +03:00
dzaima
39f4a66ae0
cleanup
2024-07-28 03:55:22 +03:00
dzaima
bd3789963c
these are actually good
2024-07-28 02:52:58 +03:00
dzaima
6f25e76e5d
tune NEON inds⊸⊏˘f64arr
2024-07-28 02:47:12 +03:00
dzaima
d1d8e8be03
fix assertion on F⌾(⟨⟩⊸⊏) x
2024-07-26 23:25:26 +03:00
dzaima
42b8420af6
ignore unused label warning
2024-07-26 23:13:08 +03:00
dzaima
93fca7c628
fix overflow in index widening
2024-07-26 22:17:49 +03:00
dzaima
7cc1031f70
use outside-of-loop index widening on aarch64
...
slower as-is due to reduced supported ranges, but that's not an inherent restriction
2024-07-26 22:17:49 +03:00
dzaima
a486e87451
select-cells comments
2024-07-26 22:17:49 +03:00
dzaima
69ca524251
widen inds outside select-cells loops
2024-07-26 22:17:49 +03:00
dzaima
fce7567349
widen bits in bits⊸⊏˘mat to i8
2024-07-26 22:16:23 +03:00
dzaima
90646563a0
don't use zip method for select-cells
2024-07-26 22:16:23 +03:00
dzaima
4a874710c7
allow unhandled types for select_rows
2024-07-26 22:16:23 +03:00
dzaima
478c389c4b
fast inds⊸⊏˘ mat
2024-07-26 22:16:23 +03:00
dzaima
0d7bf86182
baseline inds⊸⊏˘ mat
2024-07-26 22:16:23 +03:00
dzaima
f7dd900b3a
faster 𝕨⊏𝕩, incl. aarch64 support
2024-07-26 00:01:54 +03:00
dzaima
cda5fd8595
make native compiler not error in debug builds
2024-07-26 00:01:54 +03:00
dzaima
3689e6105c
support 2-modifiers in native compiler
2024-07-26 00:01:54 +03:00
dzaima
b7f7eda1ff
more cells.h comments
2024-07-26 00:01:54 +03:00
dzaima
d6483a93d3
x86 unzip & unzip128
2024-07-26 00:01:54 +03:00
dzaima
2ed06e0db6
get_range Singeli binding
2024-07-26 00:01:54 +03:00
dzaima
2ca488dd66
aarch64 bool128 select
2024-07-26 00:01:54 +03:00
dzaima
0d5e77766a
build select.singeli everywhere
2024-07-26 00:01:54 +03:00
dzaima
f1f4f1734e
extract m_tyslice
2024-07-26 00:01:54 +03:00
dzaima
b99d5f23d5
extract bitsel to a function table
2024-07-26 00:01:54 +03:00
dzaima
2b323817ca
make 𝕨⊏𝕩 error messages not differ across types
2024-07-26 00:01:54 +03:00
dzaima
e757b690dd
mention src/singeli/ in src/README.md
2024-07-26 00:01:54 +03:00
dzaima
c274c35b1e
Singeli @for_blocks
2024-07-26 00:01:54 +03:00
dzaima
079d3ffe91
better aarch64 homMask{[16]u8,[16]u8}
2024-07-26 00:01:54 +03:00
dzaima
0b69fa84cd
NEON comparisons to 0
2024-07-26 00:01:54 +03:00
dzaima
c0573d602c
don't error on non-vector types checked by genchk
2024-07-26 00:01:54 +03:00
dzaima
a9fbd0301d
fix ∾˝⎉k refcounting
2024-07-15 00:56:02 +03:00
dzaima
3e9af0a910
fast-path for n•rand.Range 1
2024-07-15 00:56:02 +03:00
dzaima
2dd3798228
more Singeli cleanup
2024-07-15 00:56:02 +03:00
dzaima
2436c45f1d
Singeli ceil_log2 for compile-time numbers
2024-07-15 00:52:00 +03:00
dzaima
66a8529d88
remove redundant parentheses in Singeli destructuring
2024-07-15 00:52:00 +03:00
dzaima
ed2198c06a
disable tail calls in bqn_fmt & bqn_repr
...
far from performance-critical, but helpful for stack traces
2024-07-15 00:52:00 +03:00
dzaima
f79e4c6d0a
make /(m?zip(128)?|pack)(Lo|Hi)/ not have Lo/Hi as part of name
...
instead being an optional 3rg arg
2024-07-15 00:52:00 +03:00
dzaima
a671ec9462
aarch64 bittab
2024-07-13 00:10:34 +03:00
dzaima
6dbe76727f
update offset for stacktraces on FLDG
2024-07-13 00:10:34 +03:00
dzaima
838639e610
fix gcc-9 build
2024-07-10 03:54:44 +03:00
dzaima
7aab7ceb8b
cleanup
2024-07-10 03:44:05 +03:00
dzaima
2bc1ba9f4a
fix aarch64 squeeze
2024-07-10 03:43:58 +03:00
dzaima
52d1e61fe0
don't bother early-exiting on masked iteration
2024-07-10 03:24:10 +03:00
dzaima
2fdd72f1c4
faster <SSE4.1 integer accumulating in squeeze
2024-07-10 03:18:17 +03:00
dzaima
a45925b0c6
fix SSE2 squeeze
2024-07-10 03:18:17 +03:00
dzaima
f941245b34
avoid needing two final folds on x86
2024-07-10 03:18:17 +03:00
dzaima
40a5c40bda
faster squeeze
2024-07-10 03:18:17 +03:00
dzaima
d66be091be
shufps Singeli mapping
2024-07-10 00:55:43 +03:00
dzaima
e96948cb64
Singeli zip128
2024-07-10 00:55:43 +03:00
dzaima
a8af920dc9
•internal.PureKeep
2024-07-10 00:55:43 +03:00
dzaima
01b1ee3637
make ⊢¨ more consistent with other PureIdentFn¨
...
incl. making ⊢¨ not leak xf under EACH_FILLS
2024-07-10 00:55:43 +03:00
dzaima
826179c83d
•internal utility for getting & setting object flags
2024-07-08 22:53:29 +03:00
dzaima
352f22f8f6
don't vectorize tiny loop
...
could theoretically maybe be beneficial for functions with a hilarious
number of arguments, but whatever. Improves perf on few-argument
functions from not unrolling/vectorizing.
2024-07-08 04:25:27 +03:00
dzaima
3e24442011
use ux in base cmp
2024-07-08 04:25:27 +03:00
Marshall Lochbaum
201fe1e57c
Extend fold_rows to any rank, as long as stride is 1
2024-07-05 17:44:42 -04:00
Marshall Lochbaum
48d77e722f
Extend ˝ to ´ conversion (for singleton cells) to any rank
2024-07-05 17:44:42 -04:00
Marshall Lochbaum
46704defb6
Convert list⊸↑˘ to a single ↑ call, likewise ↓ and ⌽
2024-07-05 17:44:42 -04:00
Marshall Lochbaum
ce98efc525
Transform atom⊸⌽⎉k into a single high-rank ⌽ call
2024-07-05 17:44:42 -04:00
Marshall Lochbaum
3b49294145
Specialize ApdMut to reshape if there's only one append
2024-07-05 17:44:42 -04:00
Marshall Lochbaum
76a40491e9
Remove some rank restrictions from for_cells_SA
2024-07-05 17:44:42 -04:00
Marshall Lochbaum
4450d36187
Better handling for «˘ and »˘ trivial cases
2024-07-05 17:44:42 -04:00
Marshall Lochbaum
d89a6da2da
Evaluate monadic «» on a length-1 argument by reshaping the fill
2024-07-05 17:44:42 -04:00
Marshall Lochbaum
6eca24ce0a
Special code for ∾˝˘ and fold-cells of empty
2024-07-05 17:44:42 -04:00
Marshall Lochbaum
9d5caad9a9
Compute Insert identity natively
2024-07-05 17:44:42 -04:00