Skip to content

Implement register allocation#37

Merged
mengzhuo merged 2 commits intoplctlab:mainfrom
bmwangmh:workspace
Sep 19, 2025
Merged

Implement register allocation#37
mengzhuo merged 2 commits intoplctlab:mainfrom
bmwangmh:workspace

Conversation

@bmwangmh
Copy link

@bmwangmh bmwangmh commented Sep 19, 2025

Fix a series of bug in the spill step. See 9d35c3a.

Finish fundamental register allocation. See 637433f.

The Implementation only uses callee saved register now, and cannot deal with complicated control flow (such as Jalr). It has no floating-point support. Since lots of bugs are found, I thought implement an executable version as soon as possible is more important.

@mengzhuo mengzhuo merged commit eda44e2 into plctlab:main Sep 19, 2025
3 of 4 checks passed
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.

2 participants