Skip to content

Commit

Permalink
Disable relaxed-simd in differential fuzzing (bytecodealliance#10045)
Browse files Browse the repository at this point in the history
We forgot to do this quite a long time ago but this was always the
intention. Turns out with Pulley now being online the fuzzer quickly
found a difference between Pulley and Cranelift where the native x64
instructions differ from the "deterministic" behavior that Pulley
implements. This difference is expected and allowed though, so don't
fuzz it.
  • Loading branch information
alexcrichton authored Jan 18, 2025
1 parent 4a043fd commit d58f1b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/fuzzing/src/generators/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ impl Config {
}
}
}

// These instructions are explicitly not expected to be exactly the same
// across engines. Don't fuzz them.
config.relaxed_simd_enabled = false;
}

/// Uses this configuration and the supplied source of data to generate
Expand Down

0 comments on commit d58f1b5

Please sign in to comment.