Skip to content

Add fast handlers#591

Draft
matthew-mojira wants to merge 56 commits intotitzer:masterfrom
matthew-mojira:fast-handlers
Draft

Add fast handlers#591
matthew-mojira wants to merge 56 commits intotitzer:masterfrom
matthew-mojira:fast-handlers

Conversation

@matthew-mojira
Copy link
Copy Markdown
Contributor

No description provided.

matthew-mojira and others added 28 commits March 20, 2026 12:06
* we now use RETURN for SpcControl for inlined functions instead of BLOCK
* RETURN instructions are now supported
* ret_labels are now eagerly instantiated and added to SpcState
* added pushFuncBody to abstract control push of RETURN
…+ others

* added FastIntTuning.useFastFunctions which could control use of fast functions
* added Mmap.reserve32 to use MAP_32BIT to force 4-byte addresses in dispatch table
* allow PROT_WRITE in executable code for the dispatch table patching
  - probably needs to be refined to be just the table region
* added u32leb_size helper (should really be removed)
* add fast_call_idx so that we can get opcode from function later for patching
* advance PC beyond operands (which remain in place, orig function index)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant