dzaima
0c3d83c50b
fix ⊑˘ with bitarr 𝕩
2024-02-27 14:27:42 +02:00
dzaima
52e2ccd944
update Singeli submodule
2024-02-27 01:59:45 +02:00
dzaima
606e07ff14
fix vqtbl1 NEON argument type
2024-02-27 01:42:56 +02:00
dzaima
694920c273
minor code cleanup
2024-02-27 00:40:16 +02:00
dzaima
fef984b6fd
src/README.md cleanup and updating
2024-02-27 00:38:05 +02:00
dzaima
875f9185bf
use ux a tiny bit more, add a PLAINLOOP
2024-02-27 00:37:47 +02:00
dzaima
c2ca871ce5
FFI: fix "*:i8" built object storage
2024-02-27 00:35:36 +02:00
dzaima
5a13b49ee6
FFI: properly error on read of *a:b
2024-02-16 04:16:42 +02:00
dzaima
8d427100c2
FFI: fix calculated memory size of atom:b
2024-02-16 03:36:49 +02:00
dzaima
5df8c4dbd1
static library build without FFI should still export symbols
2024-02-15 17:56:49 +02:00
dzaima
f221f90eda
error on non-number arguments for f32/f64 FFI writes
2024-02-15 17:55:53 +02:00
dzaima
09cb2aa5f8
gcc 14 should have "#pragma GCC novector"
2024-02-13 22:41:14 +02:00
dzaima
1318026c4e
a bunch of vfor
2024-02-13 22:34:16 +02:00
dzaima
3fc3338256
extract independent load from loop
2024-02-13 22:33:54 +02:00
dzaima
f981f6963b
use ux for loop index in reverse
...
makes gcc autovectorizer happier
2024-02-13 22:31:22 +02:00
dzaima
5abb09ca74
remove barely-useful elType==el_i32 path of reshape
...
perhaps could be replaced with an <=el_i32 path that still uses GetU but just skips numberness/integerness checks and ∘/⌊/⌽/↑ logic
2024-02-13 22:30:11 +02:00
dzaima
26a4bc9ac3
add guaranteedness of decrement on bqn_read*
2024-02-13 22:26:43 +02:00
dzaima
5c98930126
this was meant to be included in the previous commits
2024-02-13 22:24:35 +02:00
dzaima
b7afe7e597
fix nvm_x86_64.c's MMAP define
2024-02-13 22:19:17 +02:00
dzaima
210f6345c0
ensure desired allocation padding on NO_MMAP
2024-02-13 22:13:47 +02:00
dzaima
9577fa193c
make STORE_JIT_MAP build
2024-02-13 22:13:47 +02:00
dzaima
73a2b06703
more PLAINLOOP
2024-02-08 19:26:35 +02:00
dzaima
9cb0ab2fbb
Use getRange_fns for repeat_bounds
2024-02-08 19:25:30 +02:00
dzaima
dc80bc6809
mention REPLXX's license in the licensing section of readme
2024-02-08 15:38:26 +02:00
dzaima
b5f9424209
don't -fno-trapping-math
...
causes gcc to optimize floatVal!=(i32)floatVal to floatVal!=round(floatVal), which is technically valid as that conversion is UB on overflow, but we want it to work anyways
2024-02-08 15:27:14 +02:00
dzaima
7c1cc22f1e
remove too-large FFI test cases
...
the limit is now 2^32, which is as much as readUInt reads
2024-02-08 15:27:14 +02:00
dzaima
52a583502d
get rid of 16-bit limits in FFI sizes
2024-02-06 22:33:54 +02:00
dzaima
b1e2e17edd
even more FFI cleanup
2024-02-06 22:31:57 +02:00
dzaima
2b30010c25
disallow writing array to pointer within pointer object
...
and while at it move a global to an argument
2024-02-06 20:29:24 +02:00
dzaima
74f7e4701d
disallow '&' outside of top-level type
2024-02-06 20:03:46 +02:00
dzaima
cb550bf885
more FFI cleanup
2024-02-06 15:17:49 +02:00
dzaima
b7f845300c
some FFI error message changes
2024-02-06 15:16:29 +02:00
dzaima
d73fbbab99
extract size_t in test/ffi/test.bqn
2024-02-06 15:16:29 +02:00
dzaima
5a8ad03ff5
buildObj → readUpdatedObj, inline printFFIType
2024-02-06 15:16:29 +02:00
dzaima
677b341ad4
merge readRe & makeRe, reduce its result size to the proper size
...
previously the 1<<reW was used as the number of bytes to require but it's actually number of bits
2024-02-06 14:22:20 +02:00
dzaima
05ceb45b2f
fix ptr.Write doing weird things
2024-02-05 22:42:24 +02:00
dzaima
19f4b1293d
test for struct containing pointers
2024-02-05 21:52:19 +02:00
dzaima
445cfcf15a
fix type of returned pointer within struct
2024-02-05 21:40:28 +02:00
dzaima
3c297ffeb8
add pointer reading within struct
2024-02-05 21:24:05 +02:00
dzaima
a8772dc3ae
fix **:i8
2024-02-05 04:54:55 +02:00
dzaima
b22c5d2883
get rid of sty_ptr
2024-02-05 04:51:12 +02:00
dzaima
7ab13e3c5a
refactor BQNFFIEnt & BQNFFIType
2024-02-05 04:14:02 +02:00
dzaima
102874c43f
support passing pointer objects to typed arguments
2024-02-05 01:29:49 +02:00
dzaima
a4c0424931
fix type equality checking on untyped pointer elements
2024-02-05 01:29:49 +02:00
dzaima
ac16b69fe1
add toggle to always run buildObj for testing object matching more
2024-02-05 01:29:49 +02:00
dzaima
61f142a1fd
type formatting for error messages
2024-02-05 01:29:49 +02:00
dzaima
7471c5c9f5
fix plain "&" argument being accepted
2024-02-05 00:34:55 +02:00
dzaima
95c8957dcc
move Cpy to %DEF mm
2024-02-04 23:31:29 +02:00
dzaima
e89d59c606
more proper error message
2024-02-04 23:27:28 +02:00
dzaima
7edcccdf82
initial pointer objects
2024-02-04 23:19:57 +02:00