dzaima
d508bca78d
fix build.bqn on non-for-build CBQN
2024-09-15 20:02:04 +03:00
dzaima
574653f3fb
improve clangd of various files in src/opt/
2024-09-13 18:18:29 +03:00
dzaima
e4005e9d7c
add SINGELI_SSSE3
2024-08-14 15:51:06 +03:00
dzaima
f83f63b22d
add has=ssse3, has=sse4.1, and has=sse4.2
2024-08-14 15:47:17 +03:00
dzaima
39f4a66ae0
cleanup
2024-07-28 03:55:22 +03:00
dzaima
0d5e77766a
build select.singeli everywhere
2024-07-26 00:01:54 +03:00
dzaima
9c05b68870
ubsan option for build.bqn
2024-06-29 17:12:12 +03:00
Marshall Lochbaum
2590222988
Generic-architecture implementations of fold.singeli
2024-06-18 07:46:31 -04:00
dzaima
088a5b550d
improve missing c++ message
2024-06-04 15:51:55 +03:00
dzaima
784229e7ec
more verbose warning on missing c++
2024-06-04 15:34:42 +03:00
dzaima
0b1ba06bc0
fix static-lib on macos
2024-05-09 20:27:37 +03:00
dzaima
604b751994
rearrange linker command generation
2024-05-09 20:14:25 +03:00
dzaima
ac405da3ab
fix building after compilation error
2024-04-20 23:24:48 +03:00
dzaima
ce4461ff44
build/build: handle dry-run clangd
2024-04-20 21:20:59 +03:00
dzaima
d63e5ab714
build/build: dry → dry-run
2024-04-20 03:52:35 +03:00
dzaima
1f4d1fce0b
build/build: warning caching
2024-04-20 03:38:51 +03:00
dzaima
68f0ec749f
build/build: dry, clean, rebuild list
2024-04-20 03:10:13 +03:00
dzaima
54cec2fdf5
split up CATCH_ERRORS into functional and semantic options
...
allows running a non-heapverify build that functions exactly as a heapverify one, while allowing ⎊ to function
2024-04-04 02:52:08 +03:00
dzaima
fd317ddce3
move heapverify CATCH_ERRORS change to build.bqn
2024-04-04 02:35:02 +03:00
dzaima
5df8c4dbd1
static library build without FFI should still export symbols
2024-02-15 17:56:49 +02:00
dzaima
1318026c4e
a bunch of vfor
2024-02-13 22:34:16 +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
c078f62b1f
add GLOBAL, INIT_GLOBAL, or const to globals
2024-02-01 21:13:39 +02:00
dzaima
b6a1a7caa0
add -fno-trapping-math
2024-01-19 18:08:27 +02:00
Marshall Lochbaum
5f3a4769be
Rename constrep.singeli to replicate.singeli; not just constant now
2023-12-31 15:30:20 -05:00
Marshall Lochbaum
e50ae40f8b
Port replicate-by-scan code from C to Singeli
2023-12-31 15:26:58 -05:00
Marshall Lochbaum
771496a25c
Pass slow-pdep build option to Singeli to suppress BMI2 bool/bool
2023-12-31 10:05:51 -05:00
dzaima
9dc44ed1a9
make singeli/arch.bqn the source of SINGELI_AVX2
...
+ removes noting of lack of AVX2, which isn't shown from the makefile anyway
2023-12-30 02:09:56 +02:00
dzaima
94b1d90995
SSE2 & NEON /⁼
2023-12-14 18:08:56 +02:00
dzaima
304899f533
update submodule before singeli/arch.bqn invocation
2023-12-04 16:44:30 +02:00
dzaima
e30973e48b
use Singeli's arch.bqn to convert has= to cc flags
2023-12-04 16:44:30 +02:00
dzaima
4499d93f53
don't necessarily suggest x86-64
2023-12-04 16:44:30 +02:00
dzaima
7357820f19
start of compiler state refactoring
2023-11-25 23:21:32 +02:00
dzaima
469cf08647
nogit=1 option, various readme changes
2023-11-22 20:54:43 +02:00
Marshall Lochbaum
0fb845d336
Move self-search hash table code to Singeli
2023-10-31 22:09:11 -04:00
dzaima
ae6763f5e3
name linker result by target name only on Windows
...
avoids unnecessary relinking with varying output names of the same build
2023-10-31 03:15:54 +02:00
dzaima
d911697242
accept comma-separated entries in 'has'
2023-10-31 03:03:12 +02:00
vylsaz
2e43c57a03
use the same file name as output for cached file
...
For Windows, the original file name is written into the binary, which can cause problems when linking
2023-10-29 10:00:32 -07:00
dzaima
c981889bf0
fix improper escape sequence in build.bqn
2023-09-30 17:19:24 +03:00
dzaima
090b2a70ce
preserve version info in libraries
2023-09-13 18:41:10 +03:00
dzaima
ffa4b38512
mention which fork died in build.bqn
2023-08-26 17:24:06 +03:00
Marshall Lochbaum
d16ba6c3b1
Move xor-scan to scan.singeli; remove neq.singeli
2023-08-26 07:26:33 -04:00
Marshall Lochbaum
00c454d37a
Add generic-architecture versions of Singeli scans
2023-08-26 07:26:33 -04:00
dzaima
25c2629842
•platform
...
incl. adding support for REPL completion of •a.b.c (i.e. >1 '.')
2023-08-19 18:25:52 +03:00
dzaima
fd4477992f
fall back from clang to cc in build.bqn & default makefile to cc
...
even without the makefile change here, a `make o3` will work without clang, but it gave harmless errors from the CC_IS_CLANG check before the makefile recurses to where the custom CC is set (and CC_IS_CLANG recomputed)
2023-08-04 22:27:41 +03:00
dzaima
0b6c5189d8
move arithdDispatch declarations to a header
...
+ rename some things to make more sense
2023-07-31 20:26:05 +03:00
Marshall Lochbaum
03d8919307
Add has='pclmul' option and avoid using broadcast
2023-07-16 21:56:33 -04:00
Marshall Lochbaum
f315a6d3ea
Emulate pext instruction in Singeli
2023-07-16 21:56:33 -04:00
dzaima
cd7807fba0
NEON constrep
2023-07-10 17:11:15 +03:00
Marshall Lochbaum
464a53463d
Generic Singeli version of 32-bit binary search
2023-07-10 07:13:21 -04:00