From 7e96ef822a441145979b5b8aaa3429d600dae187 Mon Sep 17 00:00:00 2001 From: eunhhu Date: Mon, 5 Oct 2026 10:14:00 +0100 Subject: Compile with the stack's values in registers, comparisons and bits branched on, each loop's columns, key bits and place kept in registers, and appends to an event's list as code: BFS core 55 to 27.5 ms (022) --- core/module-run.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'core/module-run.h') diff --git a/core/module-run.h b/core/module-run.h index 8844685..4931cfe 100644 --- a/core/module-run.h +++ b/core/module-run.h @@ -96,8 +96,12 @@ int pure_run_item(Frame *, uint32_t pc); /* Where a list keeps what compiled code reads of it (module-list.c owns the * layout and says where): its item count, its key set (the words, how many, - * whether they are bits), its form (pure_list_form) and its arrays. */ -enum { LIST_COUNT_AT, LIST_MEMBERS_AT, LIST_MEMBER_CAPACITY_AT, LIST_BITMAP_AT, LIST_FORM_AT, LIST_COLUMNS_AT, LIST_VERSION_AT }; + * whether they are bits), its form (pure_list_form), its arrays and the rows + * they hold, its version, how many keys its set holds and its stored bytes. */ +enum { + LIST_COUNT_AT, LIST_MEMBERS_AT, LIST_MEMBER_CAPACITY_AT, LIST_BITMAP_AT, LIST_FORM_AT, LIST_COLUMNS_AT, LIST_VERSION_AT, + LIST_ROOM_AT, LIST_MEMBER_COUNT_AT, LIST_BYTES_AT +}; extern const size_t pure_list_layout[]; /* A module's code compiled (AArch64 Linux; elsewhere, or with PURE_JIT=0 in -- cgit v1.2.3