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

Implicit Fallthrough on Exit Blocks #186

Open
philzook58 opened this issue Mar 28, 2022 · 0 comments
Open

Implicit Fallthrough on Exit Blocks #186

philzook58 opened this issue Mar 28, 2022 · 0 comments

Comments

@philzook58
Copy link
Collaborator

We should probably stop making these implicit fallthrough.
This creates some awkwardness in regards to the layout passes and maintaining block order.
Exit blocks should perhaps have a goto to a special patch_exit label.
This may involve refactoring some specialized jmp behavior in the patcher into layout.
We may also want to consider internalizing the block ordering layout problem into a constraint problem. Clearly we want to maximize the number of fallthroughs in order to have code size savings on reduced b instructions.

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

No branches or pull requests

1 participant