Skip to content

Binary Arithmetic ICs#1

Merged
vrindisbacher merged 11 commits into
masterfrom
vrindisbacher/ic
May 23, 2026
Merged

Binary Arithmetic ICs#1
vrindisbacher merged 11 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 can either execute the IC directly (as a rust fn) or emit bytecode to be used by later optimizing compilers.

@vrindisbacher vrindisbacher changed the title Vrindisbacher/ic Add Initial IC Mechanism May 20, 2026
@vrindisbacher vrindisbacher changed the title Add Initial IC Mechanism Binary Arithmetic ICs May 23, 2026
@vrindisbacher
Copy link
Copy Markdown
Author

Passes the entire ECMA script test suite, merging in

@vrindisbacher vrindisbacher merged commit 7474a6d into master May 23, 2026
@vrindisbacher vrindisbacher deleted the vrindisbacher/ic branch May 23, 2026 18:34
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