dzaima
d92d64257d
add removing build/obj2 to make clean
2022-12-26 19:39:51 +02:00
dzaima
c818bf54b1
remove need of libffi from make forbuild
2022-12-26 19:38:24 +02:00
dzaima
11005b8bf8
remove default -no-pie
2022-12-24 15:46:34 +02:00
dzaima
3d34155f83
actually add -O2 to make forbuild build
2022-12-24 15:28:55 +02:00
dzaima
bb7fe02a45
separate checks for x86-64 & NEON Singeli importing
...
& restrict the processed Singeli files on NEON to the ones supported
2022-12-24 15:27:53 +02:00
dzaima
d38316e670
BQN-based build system
2022-12-23 23:09:55 +02:00
dzaima
baad87c706
clean up make clean= & builddir=
2022-12-20 19:52:41 +02:00
dzaima
2d1882fae2
more easily configurable job count
2022-12-20 19:08:48 +02:00
Marshall Lochbaum
7cb8cf5772
Enable selection with AVX2 gather for i8 to i32 indices and 1- to 8-byte values
2022-11-27 09:18:21 -05:00
dzaima
05d2a0a26b
add back -ldl, update readme
2022-11-24 17:15:08 +02:00
dzaima
49636bae79
replace --dynamic-list with visibility
2022-11-22 15:36:32 +02:00
dzaima
6044a0479f
use pkg-config if available
2022-11-22 15:17:34 +02:00
Marshall Lochbaum
52608ba6ce
Singeli min/max-fold
2022-11-21 11:47:50 -05:00
Marshall Lochbaum
5bfdc26d00
Move fold to its own file
2022-11-20 20:06:35 -05:00
dzaima
af74369e0b
move precompiled bytecode message to only load.c recompilation
2022-11-18 17:02:01 +02:00
dzaima
6650ef58d3
explicitly state c++ standard version
2022-11-18 16:25:36 +02:00
dzaima
585e6abbbe
a tiny bit of make verbose=1
2022-11-18 13:49:55 +02:00
dzaima
ba571949b1
move build utils to within build/
2022-11-18 00:30:49 +02:00
dzaima
e3323b2c05
don't .gitignore old local Singeli directory; update clean-submodules
...
given the trailing slash, it was broken if it was a symlink anyway
2022-11-17 23:46:46 +02:00
dzaima
5c65a1a7eb
move precompiled bytecode to submodule
2022-11-17 23:20:07 +02:00
dzaima
274d02b98b
move obj to build/obj
2022-11-17 21:21:58 +02:00
dzaima
83a6565820
make singeli directory choosing logic same as replxx
2022-11-17 20:51:47 +02:00
dzaima
ddcd081674
introduce replxx submodule system
2022-11-17 20:34:32 +02:00
dzaima
5239265a61
move singeli submodule to build/
2022-11-17 19:51:12 +02:00
dzaima
6e99364480
don't require replxx for presingeli
2022-11-17 19:18:33 +02:00
dzaima
feb7b8b9a0
replxx REPL
2022-11-17 19:18:33 +02:00
Marshall Lochbaum
d6029985e8
Move scan to its own file
2022-11-16 19:48:37 -05:00
Marshall Lochbaum
236d8dedd6
Move search functions to search.c
2022-10-23 22:08:08 -04:00
dzaima
f246c410d6
remove old installed bqn binary before copying new one
...
on macOS, without this, some permissions (or something like that) aren't transferred, making running install multiple times break.
2022-10-16 16:09:33 +03:00
dzaima
4a641ddf43
separate NO_DYNAMIC_LIST option
2022-10-16 15:25:43 +03:00
dzaima
f945e9d848
fix emcc build output
2022-10-16 13:51:38 +03:00
Marshall Lochbaum
cca64bba70
Move nescan.c into md1.c and constrep.c into slash.c
2022-09-30 11:40:37 -04:00
Marshall Lochbaum
cad566d547
Not-equals scan with carry-less multiply
2022-09-29 20:39:46 -04:00
Marshall Lochbaum
acc200222d
Move constant Replicate Singeli code to its own file
2022-09-29 20:33:09 -04:00
Marshall Lochbaum
21033fa355
Move Group to its own file
2022-09-16 22:01:56 -04:00
dzaima
5bf4e20ead
PREFIX and DESTDIR for make install
2022-09-14 16:57:23 +03:00
Marshall Lochbaum
017fcaea2a
Move slash functions to a separate file
2022-09-10 09:58:42 -04:00
dzaima
e266fbd09e
basic float monadic arith loops, incl. -fno-math-errno
2022-09-08 23:18:47 +03:00
dzaima
d3a1fee437
singeli bit_sel
2022-09-08 21:39:51 +03:00
dzaima
b386531b30
don't re-link when not necessary
2022-09-01 18:11:24 +03:00
dzaima
d32e373168
attempt at fixing some makefile problems
2022-09-01 17:55:36 +03:00
dzaima
c84d731017
disallow optimizing to fma
2022-08-29 22:47:21 +03:00
dzaima
78e5799147
merge dyarith.singeli and dyarith2.singeli
2022-08-29 19:18:20 +03:00
dzaima
777c5cc1a5
rename things
2022-08-29 19:05:34 +03:00
dzaima
ce5ece34e1
new arith
2022-08-28 23:28:06 +03:00
Marshall Lochbaum
9d402c1bdd
Move self-search functions to selfsearch.c
2022-08-24 10:47:04 -04:00
dzaima
75bfa5d905
singeli num_squeeze
2022-06-30 01:47:50 +03:00
dzaima
e31c574fd8
separate squeeze to its own file
2022-06-29 18:36:05 +03:00
dzaima
87a8aacbc5
add explain getting to makefile
2022-06-26 21:59:28 +03:00
dzaima
7cac711dfb
allow OUTPUT= to work when it has a different default
2022-06-03 23:37:12 +03:00
dzaima
6cf29586db
add no_fPIC option
2022-06-03 23:25:03 +03:00
dzaima
e92dce58fb
shared library build
2022-06-03 22:04:48 +03:00
dzaima
0380ee2a40
fix wasm builds
2022-05-29 22:05:04 +03:00
dzaima
af3c6b7857
add FFI=0 for presingeli build
2022-05-14 12:38:40 +03:00
dzaima
2cad0798af
use symbol list instead of -rdynamic
2022-05-12 14:37:12 +03:00
dzaima
a601ba6a76
very unfinished FFI
2022-05-11 22:30:14 +03:00
dzaima
3f583a2314
new makefile
2022-04-26 20:45:58 +03:00
dzaima
ab868a55f3
singeli copy
2022-04-25 03:06:11 +03:00
dzaima
113f72e86d
singeli bitarr conversion to wider arrays
2022-04-21 18:27:20 +03:00
dzaima
cd431d3338
singeli +`
2022-04-21 03:51:37 +03:00
dzaima
a9e0386dac
unify Singeli dependency file directory
...
as Singeli generates the same files for every build type, the dependencies must be in a single directory too, otherwise only the first build will know about them
2022-04-14 15:26:36 +03:00
dzaima
f079aa5f76
move select to its own file
2022-04-12 16:23:43 +03:00
dzaima
0df77b8a4a
name wasi-o3 target BQN.wasm
2022-04-07 20:20:12 +03:00
dzaima
e38226895e
cbqn_evalSrc
2022-04-07 19:45:43 +03:00
dzaima
99c6fee8d6
emcc target improvements
2022-04-07 17:25:25 +03:00
dzaima
18bdb21434
force pre-singeli build name
2022-04-07 13:10:57 +03:00
dzaima
e7b551acc2
increase wasi stack size
2022-04-07 02:06:41 +03:00
dzaima
267a62d292
don't use mmap in allocStack for WASI
2022-04-07 00:04:12 +03:00
dzaima
e3baa868f7
put in a bit more effort printing messages while things are really bad
2022-04-06 22:38:51 +03:00
dzaima
537369e5e7
make wasi-o3 actually have -O3
2022-04-06 22:10:55 +03:00
dzaima
2ef54c4f7a
allow emscripten memory growth
2022-04-06 22:06:14 +03:00
dzaima
e3e54bea06
extract single REPL input line execution to function
2022-04-06 20:59:33 +03:00
dzaima
fd902bb77e
add make emcc-o3
2022-04-06 20:24:07 +03:00
dzaima
4bed4d131e
customizable output
2022-04-06 20:06:36 +03:00
dzaima
61a0842864
add wasi build target
2022-04-06 19:24:45 +03:00
dzaima
9c67d47cd9
makefile changes
2022-04-06 19:04:40 +03:00
dzaima
49ff5a04ff
singeli ≡
2022-04-02 16:58:35 +03:00
dzaima
37bf551e54
BMI2 bitarr/i8arr & bitarr/i16arr
2022-04-01 22:41:32 +03:00
-k
4605194a83
Add install/uninstall
2022-03-23 16:04:10 -07:00
dzaima
c3925662b2
more proper manual job count config
2022-03-18 18:17:57 +02:00
dzaima
79d57316c7
makefile changes
2022-01-02 00:46:05 +02:00
dzaima
1770251bad
singeli + & - & ×
2021-12-18 22:30:00 +02:00
dzaima
12250ef202
changes to •ReBQN
2021-12-17 14:39:51 +02:00
Marshall Lochbaum
5c2a921e56
Switch from fixed-primitives compiler (c) to variable (cc)
2021-12-16 14:29:19 -05:00
dzaima
4af4b45ab7
fix / with negative numbers in indexes
2021-12-16 12:20:42 +02:00
dzaima
01deb1e85f
thanks google for adding a warning
...
don't need it
2021-12-15 14:03:02 +02:00
dzaima
1b878ccdb6
better readme
2021-12-10 22:49:04 +02:00
dzaima
f55e349999
inverse headers
2021-11-21 21:03:14 +02:00
dzaima
e3227087b0
fix gcc build
2021-11-02 18:39:39 +02:00
dzaima
30b0a36b4d
clean runtime, don't needlessly enable PIE
2021-10-28 16:16:45 +03:00
dzaima
61dad2aadd
test for clang and not gcc
...
because /usr/bin/cc --version being gcc will not include gcc in the result
2021-10-27 23:54:50 +03:00
dzaima
dfa04f4922
properly free 𝕩 when needed
2021-10-26 16:15:33 +03:00
dzaima
f8798affc4
full array-scalar comparison error checking in singeli
2021-10-25 01:59:25 +03:00
dzaima
3e372620a2
array-scalar comparison function lookup table
2021-10-24 21:12:39 +03:00
dzaima
71c454235c
singeli
2021-10-22 00:17:44 +03:00
Anderson Torres
bbf8fea738
A more accurate GCC compiler detection
...
Instead of relying on the executable name, it is better to "parse" the version information of the compiler.
2021-10-06 19:03:58 -03:00
sternenseemann
643b1ae485
makefile: detect prefixed gcc properly
...
When cross-compiling, we'll have CC=aarch64-unknown-linux-gcc or
similar.
2021-10-05 00:19:46 +02:00
dzaima
1bca264db8
bitarrs
2021-10-03 23:18:30 +03:00
dzaima
dac6f29a41
more eachd_fn and eachm_fn out of header file
2021-09-30 20:24:14 +03:00
dzaima
d1047fcdc6
make building on android possible
2021-09-21 11:59:04 +03:00