X Tutup
The Wayback Machine - https://web.archive.org/web/20210115082659/https://github.com/davidgiven/cowgol/pull/16
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

Replace iburg with the newgen code generator. #16

Merged
merged 25 commits into from Jan 1, 2020
Merged

Replace iburg with the newgen code generator. #16

merged 25 commits into from Jan 1, 2020

Conversation

@davidgiven
Copy link
Owner

@davidgiven davidgiven commented Jan 1, 2020

Rip out iburg and replace it with the new combined instruction selector and register allocator; it produces (mostly) better code and is much easier to work with.

davidgiven added 25 commits Dec 26, 2019
--HG--
branch : master
--HG--
branch : master
--HG--
branch : master
…gorithm.

--HG--
branch : master
…n and

needs to be (largely) rewritten.

--HG--
branch : master
…s based on

result register class (source register class would be nice too).

--HG--
branch : master
…ork the

way the parser handles subroutine calls.

--HG--
branch : master
… needs

stackable registers to work, which they don't.

--HG--
branch : master
--HG--
branch : master
--HG--
branch : master
--HG--
branch : master
--HG--
branch : master
…ters.

Loading 16-bit values doesn't swap the bytes. Lots of tidying.

--HG--
branch : master
--HG--
branch : master
--HG--
branch : master
--HG--
branch : master
@davidgiven davidgiven merged commit f2f800a into master Jan 1, 2020
1 check passed
1 check passed
build-linux
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.
X Tutup