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

Implement the Windows x64 backend #53

Merged
merged 12 commits into from
Mar 7, 2019
Merged

Implement the Windows x64 backend #53

merged 12 commits into from
Mar 7, 2019

Conversation

polsys
Copy link
Owner

@polsys polsys commented Mar 2, 2019

Not everything is in this PR, missing:

  • Benchmarks
  • Several arithmetic/logical ops (some will be implemented in a separate PR)

Part of #6. Implemented basic code generation. The register allocator is not a final one, just a quick implementation for this initial bringup.

@polsys polsys mentioned this pull request Mar 2, 2019
12 tasks
@polsys polsys marked this pull request as ready for review March 2, 2019 15:08
const string expected = @"
; Test::Method
LB_0:
mov eax, 2Ah
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember to change the hexadecimal syntax to 0x2A instead of 2Ah. The latter syntax is used e.g. by Microsoft dumpbin, but I guess the former is more familiar.

@polsys
Copy link
Owner Author

polsys commented Mar 7, 2019

Going to merge this as is and continue in a second PR. :shipit:

@polsys polsys merged commit bfb70a8 into master Mar 7, 2019
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