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

[GR-54068] Implement Relaxed SIMD Proposal for WebAssembly #9759

Open
fniephaus opened this issue Sep 26, 2024 · 0 comments
Open

[GR-54068] Implement Relaxed SIMD Proposal for WebAssembly #9759

fniephaus opened this issue Sep 26, 2024 · 0 comments
Assignees
Labels

Comments

@fniephaus
Copy link
Member

TL;DR

We plan to implement the WebAssembly Relaxed SIMD proposal in GraalWasm.

Details

The Relaxed SIMD proposal builds on top of the existing fixed-width SIMD proposal by providing new instructions that work on vector values. These new arithmetic instructions are non-deterministic - given the same inputs, two calls to the same instruction can return different results. The non-determinism of these instructions makes them more portable, as different machine architectures might have corresponding primitives that return different results. In such cases, if a deterministic instruction was used, only some architectures would be able to use the host primitive directly, while others would have to calculate the result in a suboptimal manner. This non-specificity thus makes it easier for WebAssembly runtimes to deliver consistent performance across various architectures.

More details at https://github.com/WebAssembly/relaxed-simd/blob/main/proposals/relaxed-simd/Overview.md

@fniephaus fniephaus added the wasm label Sep 26, 2024
@fniephaus fniephaus changed the title Implement Relaxed SIMD Proposal for WebAssembly [GR-54068] Implement Relaxed SIMD Proposal for WebAssembly Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

2 participants