Commit Graph

172 Commits

Author SHA1 Message Date
dzaima
2cb15c936d get rid of b(x) macro 2025-02-08 17:36:44 +02:00
dzaima
162e6ff387 decG more
found automatically via awful hack via GUARANTEED
2024-12-04 00:10:52 +02:00
dzaima
6f7e82e52b include JIT heap in used heap measurements 2024-09-21 21:26:02 +03:00
dzaima
6dbe76727f update offset for stacktraces on FLDG 2024-07-13 00:10:34 +03:00
dzaima
b7afe7e597 fix nvm_x86_64.c's MMAP define 2024-02-13 22:19:17 +02:00
dzaima
9577fa193c make STORE_JIT_MAP build 2024-02-13 22:13:47 +02:00
dzaima
88f8daedbf proper bi_optOut handling 2024-02-01 21:26:08 +02:00
dzaima
1b26e85325 don't need to mark static globals as hidden
gcc complains about this
2024-02-01 21:26:08 +02:00
dzaima
c078f62b1f add GLOBAL, INIT_GLOBAL, or const to globals 2024-02-01 21:13:39 +02:00
dzaima
2e61f52d22 use MAP_EXCL on FreeBSD
OpenBSD should be fine as is, as it by default respects the hint if possible (I believe, at least, looking at its man page)
2023-12-26 00:47:11 +02:00
dzaima
c8cdaf0216 Clear assumption about assignment result in const-folder 2023-11-17 17:44:32 +02:00
dzaima
ad574d2269 refactor & document #define-s, always-available ')gc log' and ')mem log' 2023-10-31 03:16:48 +02:00
dzaima
d1e511bebd add padding before allocations & document it 2023-07-13 16:20:37 +03:00
dzaima
e8caed529c fix JIT SETUi/SETMi/SETCi missing unset variable checks 2023-05-22 00:08:20 +03:00
dzaima
d1a5ed3e00 err → fatal 2023-05-11 15:28:23 +03:00
dzaima
fe39fe1932 remove Md1H/MD2R 2023-05-11 15:28:23 +03:00
dzaima
f640767e97 increase JIT memory allocation size
virtual memory should make it not matter for memory usage, or maybe even very slightly improve it due to less page table fragmentation
2023-05-06 01:11:30 +03:00
dzaima
78159f4f04 check for the proper failure value in mmap_nvm 2023-05-05 23:04:22 +03:00
dzaima
35786d4f5b m_hVec\d → m_hvec\d 2023-04-29 17:39:13 +03:00
dzaima
865257fdb6 more header file cleanup 2023-04-29 17:39:13 +03:00
dzaima
aa5ed7cc7a BB2B & BBB2B → FC1 & FC2 2023-04-29 15:31:31 +03:00
dzaima
7f0390be3f more error messages 2023-04-28 20:49:34 +03:00
dzaima
1bc439c214 ARMO needs source mapping 2023-04-17 13:19:38 +03:00
dzaima
6239e2f2dd add binary mode flag to fopen calls 2023-04-13 15:54:34 +03:00
dzaima
9780cacacd commented-out heap alignment 2023-03-27 17:38:26 +03:00
dzaima
dc583d754c separate FLDG for gid-based field lookup 2023-03-22 19:49:32 +02:00
dzaima
0b32ef96ce inline → inplace in existing-scope-mutating function names 2023-03-19 22:47:00 +02:00
dzaima
16274e5952 bucket coalescing on GC 2023-03-04 20:09:12 +02:00
dzaima
1af9155425 optional path arg for •internal.HeapDump; STORE_JIT_MAP 2023-02-24 00:16:44 +02:00
dzaima
7b57b4ae39 explicitly mark code sections where allocations aren't allowed to happen 2023-02-18 17:46:55 +02:00
dzaima
a84ca6c5d6 strict prototypes 2023-02-03 15:33:31 +02:00
dzaima
679e90925a preserve ⟨a⟩ & ⟨a,b⟩ fill behavior for JIT 2023-01-22 19:24:34 +02:00
dzaima
7bd8331346 add more GS_UPD 2023-01-21 23:34:13 +02:00
dzaima
7b996c772a lea tmp,[CS+123]; mov [tmp],rax → mov [CS+123],rax 2023-01-17 20:55:39 +02:00
dzaima
86ae984af0 more print function renaming 2023-01-09 02:17:12 +02:00
dzaima
5d61785912 some more x86_64.h reordering 2022-12-03 22:54:49 +02:00
dzaima
21984e1700 more x86_64.h cleanup 2022-12-03 15:21:05 +02:00
dzaima
732d1fdb34 remove ASMI/macro indirection 2022-12-02 17:26:10 +02:00
dzaima
bca0efb46c clean up x86_64.h 2022-12-02 17:10:04 +02:00
dzaima
24195780df reorder headers to allow OpenBSD hack to function 2022-11-20 18:22:51 +02:00
dzaima
e5a9c7536d array tail overwriting checker 2022-11-17 18:56:46 +02:00
dzaima
360aabb7cc option to noinline mm_alloc & mm_free 2022-11-17 18:56:46 +02:00
dzaima
4daabd708a introduce calls.h, move vec_addN and vec_join to core header
and remove a bunch of apparently unnecessary mut.h imports
2022-11-02 23:17:52 +02:00
dzaima
702d4e979d various utility changes 2022-10-08 19:03:41 +03:00
dzaima
1619b6087b mild optimization of v_set argument consumption 2022-09-08 20:05:13 +03:00
dzaima
aa95b6add4 actually use TY(x) / PTY(x) more 2022-08-21 16:11:40 +03:00
dzaima
e6b4f85662 x->ia → IA(x) / PIA(x) 2022-08-20 08:30:03 +03:00
dzaima
b1300e6e76 yet another string function rename 2022-08-18 09:07:32 +03:00
dzaima
3ab92ecd66 explicit pointer → u64 conversion
work towards gcc 32-bit x86 builds. (gcc sign-extended pointers without this changeset)
gcc miscompiles `union B` usage though (https://godbolt.org/z/hEWKdc5PK), which I can do nothing about, so clang is still the only option for 32-bit x86 builds
2022-08-10 10:20:48 +03:00
dzaima
046284b96f random cleanup 2022-07-22 03:59:44 +03:00