Skip to content

Add Initial IC Mechanism#1

Open
vrindisbacher wants to merge 4 commits into
masterfrom
vrindisbacher/ic
Open

Add Initial IC Mechanism#1
vrindisbacher wants to merge 4 commits into
masterfrom
vrindisbacher/ic

Conversation

@vrindisbacher
Copy link
Copy Markdown

@vrindisbacher vrindisbacher commented May 20, 2026

Adds an IC mechanism that can be expanded upon. The strategy is quite similar to CacheIR, with some nuances.

For each function, we initialize an array of stubs for operations in that function's bytecode. Each stub is a linked list of ICs which have their own bytecode. When we perform an op that has an ICStub, we try to execute each individual IC using a VM. We currently do not compile the IC byte code.

@vrindisbacher vrindisbacher changed the title Vrindisbacher/ic Add Initial IC Mechanism May 20, 2026
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