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

cranelift: Add iadd_cout lowerings for aarch64 #5177

Merged
merged 3 commits into from
Nov 29, 2022

Conversation

afonso360
Copy link
Contributor

👋 Hey,

This PR adds lowerings for iadd_cout on the aarch64 backend.

It's based on #5176 since it found an existing bug with the interpreter. But I've opened that as a separate PR so that its easier to review.

It also adds iadd_cout in the fuzzer and has been fuzzing for the past hour without issues.

@github-actions github-actions bot added cranelift Issues related to the Cranelift code generator cranelift:area:aarch64 Issues related to AArch64 backend. labels Nov 2, 2022
Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

Generally looks good, but as you suspected that i128 lowering needs tweaks.

@afonso360
Copy link
Contributor Author

I'm going to leave the i128 lowerings for a follow up PR. I've left the i128 tests in as they are useful for the interpreter.

@jameysharp jameysharp requested a review from fitzgen November 29, 2022 02:06
@fitzgen fitzgen merged commit ec342c2 into bytecodealliance:main Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cranelift:area:aarch64 Issues related to AArch64 backend. cranelift Issues related to the Cranelift code generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants