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

Wasm32 support #66

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Wasm32 support #66

wants to merge 6 commits into from

Conversation

yzsolt
Copy link

@yzsolt yzsolt commented Nov 11, 2023

Adds support for WebAssembly SIMD, using the currently available stable intrinsics in Rust.

I also added a GitHub action for automated testing. Benchmarking also works, and shows a ~3x improvement of SIMD vs. scalar when running in wasmtime.

Note that I'm not a SIMD expert, so I may have missed some optimization opportunities when implementing operations which don't map 1:1 to WASM SIMD intrinsics. I've tried to follow already existing SSE and NEON implementations though.

Closes #20.

@yzsolt yzsolt mentioned this pull request Nov 11, 2023
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 this pull request may close these issues.

wasm32 support
1 participant