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: Prepare fuzzgen for AArch64 #4867

Merged
merged 4 commits into from
Sep 14, 2022

Conversation

afonso360
Copy link
Contributor

👋 Hey,

This disables some operations for AArch64 for fuzzgen. And uses cfg's to disable ops instead of commenting them out, this makes it easier to run fuzzgen on a new arch by enabling all ops by default until we know they are broken.

Also changes inputs for x86 since we enable icmp.i128 for some IntCC's which were previously all disabled.

This ran for about an hour on x86 and aarch64 without crashing. (In conjunction with #4866 for aarch64)

@github-actions github-actions bot added the cranelift Issues related to the Cranelift code generator label Sep 4, 2022
@jameysharp
Copy link
Contributor

Assuming nobody objects to #4879, you should be able to remove the IntCC changes from this PR, so I want to see if anybody raises any concerns about that tomorrow before reviewing this.

@afonso360
Copy link
Contributor Author

afonso360 commented Sep 9, 2022

I've rebased this on main, but I'm going to fuzz it on aarch64 and x86 for a bit to see if anything goes wrong.

Edit: 3h so far, nothing has come up, should be good to merge.

Copy link
Contributor

@jameysharp jameysharp left a comment

Choose a reason for hiding this comment

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

This includes a couple of input format changes that affect x86-64, but we don't currently have any open fuzz bugs, so I'm merging it.

@jameysharp jameysharp merged commit d0b98aa into bytecodealliance:main Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cranelift Issues related to the Cranelift code generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants