simdeez icon indicating copy to clipboard operation
simdeez copied to clipboard

Wasm32 support

Open yzsolt opened this issue 1 year ago • 0 comments

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 https://github.com/arduano/simdeez/issues/20.

yzsolt avatar Nov 11 '23 16:11 yzsolt