Skip to content

Conversation

@afonso360
Copy link
Contributor

👋 Hey,

This PR enables the select and select_spectre_guard instructions with float arms on fuzzgen. This should have probably been the first thing I checked when looking at why fuzzgen didn't find #6859, but it was pretty much the last 🙃 .

Even with this it still took a really long time to reproduce the issue, which isn't great. But we can now theoretically find it.

@afonso360 afonso360 requested a review from a team as a code owner August 22, 2023 17:34
@afonso360 afonso360 requested review from abrown and removed request for a team August 22, 2023 17:34
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.

Have you run this with the icache fuzz target, to check that we have lowerings on all backends? Assuming that's not going to start failing, this is clearly a good idea.

@github-actions github-actions bot added the cranelift Issues related to the Cranelift code generator label Aug 22, 2023
@afonso360
Copy link
Contributor Author

Looks like RISC-V is the only backend that does not implement select_spectre_guard with floats

@afonso360 afonso360 enabled auto-merge August 26, 2023 23:16
@afonso360 afonso360 added this pull request to the merge queue Aug 26, 2023
Merged via the queue into bytecodealliance:main with commit 4cedb3e Aug 27, 2023
@afonso360 afonso360 deleted the fuzzgen-select branch August 27, 2023 00:08
eduardomourar pushed a commit to eduardomourar/wasmtime that referenced this pull request Sep 6, 2023
* fuzzgen: Enable `select` with float arms

* fuzzgen: Disable `select_spectre_guard` with float arms on RISC-V
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