diff options
| author | eunhhu <[email protected]> | 2026-10-05 07:43:22 +0100 |
|---|---|---|
| committer | eunhhu <[email protected]> | 2026-10-05 07:43:22 +0100 |
| commit | 2dc0a4df9485c0a4c08859ad81f41d6efab98dd5 (patch) | |
| tree | 0b35c0993f0da03eee9d6b89f56d9b4ae6c15105 /link | |
| parent | 75b9c1c1e936e2b7c55275139897e1c78d7939c1 (diff) | |
| download | pure-2dc0a4df9485c0a4c08859ad81f41d6efab98dd5.tar.gz pure-2dc0a4df9485c0a4c08859ad81f41d6efab98dd5.zip | |
Write the hot instructions as code: constants, states, locals, rows, arithmetic, has by bits, a DENSE field by key, a FLAT item, and loop iterations (021)
- module-jit.c writes CONST, LOAD, STORE, the local and row loads,
INDEX_FIRST, LIST_COUNT, INDEX_MOVE, NOT, NEG, FLOOR, the number
arithmetic and comparisons (DIVIDE and NON_FINITE faults where the
executor gives them), LIST_HAS by a key set's bits, a joined FIND's
field of a DENSE list, a FLAT list's ITEM_GET, and a walk's and a
count's iteration (work charged as the executor charges it). Anything
else, or a list in another form, still calls step.
- module-list.c says where a list keeps what the code reads
(pure_list_layout); list_of and item_field are shared.
- PURE_JIT_DUMP=file writes the code made, to read with objdump.
- A search (core only): 103 ms compiled, 122 ms executed; the answers
(hops, reached, work) are the executor's.
Diffstat (limited to 'link')
0 files changed, 0 insertions, 0 deletions
