Skip to content

Implement the Wasm relaxed-simd proposal #1431

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

Closed
Robbepop opened this issue Mar 27, 2025 · 0 comments · Fixed by #1443
Closed

Implement the Wasm relaxed-simd proposal #1431

Robbepop opened this issue Mar 27, 2025 · 0 comments · Fixed by #1443

Comments

@Robbepop
Copy link
Member

Robbepop commented Mar 27, 2025

This is about adding support for the relaxed-simd Wasm proposal.


Now that the Wasm simd proposal is implemented for Wasmi, implementation of Wasm relaxed-simd is finally unblocked.

This is a rather small extension to the Wasm simd proposal that introduces some more efficient SIMD instructions that may have non-deterministic behavior on different platforms. However, since Wasmi is emulating SIMD instructions we should be able to make to implement all these SIMD instructions in a deterministic way.

The relaxed-simd proposal has been stable for a long time now, so it is about time it gets supported by Wasmi, especially with the new foundations.

In order to differentially fuzz test Wasmi's deterministic relaxed-simd implementation we can use Wasmtime's deterministic implementation using this config: Config::relaxed_simd_deterministic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant