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

Add zero/sign extension and truncation instructions #140

Open
2 tasks
fabianschuiki opened this issue Sep 6, 2020 · 0 comments
Open
2 tasks

Add zero/sign extension and truncation instructions #140

fabianschuiki opened this issue Sep 6, 2020 · 0 comments
Labels
A-ir Area: Intermediate representation. A-spec Area: Language features, semantics, and specification. C-enhancement Category: Adding or improving on features.

Comments

@fabianschuiki
Copy link
Owner

Add the zext, sext, and trunc instructions to perform basic arithmetic size adjustment.

Todo

  • Add instructions and parser roundtrip test
  • Implement constant folding and add test
@fabianschuiki fabianschuiki added A-spec Area: Language features, semantics, and specification. A-ir Area: Intermediate representation. C-enhancement Category: Adding or improving on features. labels Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ir Area: Intermediate representation. A-spec Area: Language features, semantics, and specification. C-enhancement Category: Adding or improving on features.
Projects
None yet
Development

No branches or pull requests

1 participant