Files
wasmtime/crates
Andrew Brown cd982c5a3f [fuzz] Add SIMD to single-instruction generator (#4778)
* [fuzz] Add SIMD to single-instruction generator

This change extends the single-instruction generator with most of the
SIMD instructions. Examples of instructions that were excluded are: all
memory-related instructions, any instruction with an immediate.

* [fuzz] Generate V128s with known values from each type

To better cover the fuzzing search space, `DiffValue` will generate
better known values for the `V128` type. First, it uses arbitrary data
to select a sub-type (e.g., `I8x16`, `F32x4`, etc.) and then it fills in
the bytes by generating biased values for each of the lanes.

* [fuzz] Canonicalize NaN values in SIMD lanes

This change ports the NaN canonicalization logic from `wasm-smith`
([here]) to the single-instruction generator.

[here]: https://github.com/bytecodealliance/wasm-tools/blob/6c127a6/crates/wasm-smith/src/core/code_builder.rs#L927
2022-09-06 14:54:39 -07:00
..
2022-09-06 13:49:56 -05:00
2022-08-30 09:08:26 -05:00
2022-09-06 13:49:56 -05:00
2022-09-06 13:49:56 -05:00
2022-09-06 13:49:56 -05:00
2022-09-06 13:49:56 -05:00
2022-09-06 13:49:56 -05:00
2022-09-06 13:49:56 -05:00
2022-09-06 13:49:56 -05:00
2022-09-06 13:49:56 -05:00
2022-09-06 13:49:56 -05:00
2022-09-06 13:49:56 -05:00
2022-09-06 13:49:56 -05:00
2022-09-06 13:49:56 -05:00
2022-09-06 13:49:56 -05:00
2022-09-06 13:49:56 -05:00