Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codegen: SACK analysis and new linearizer #89

Closed
wants to merge 1 commit into from

Conversation

eamsden
Copy link
Collaborator

@eamsden eamsden commented Sep 20, 2023

Supersedes #54 since the history of that was far too messy

Original

This PR upgrades SKA to SACK, which is capable of discerning which knowledge is actually necessary to fix called nock formulas for direct calls, and use this information as the battery label for generated code.

This avoids the TMI problem when using SKA to build cell structures in accumulators, and the battery discovery problem which required several ad-hoc heuristics to discover stable batteries for dynamic cores such as Arvo, vanes, gall agents, threads, generators, and dojo expressions. It also allows us to directly derive "cold state"[1] for jetting from fast hints, and to statically link jets using no more information than is already used for the current vere jetting system.

@eamsden
Copy link
Collaborator Author

eamsden commented Nov 24, 2023

Closing in favor of #135

@eamsden eamsden closed this Nov 24, 2023
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