3 ms·
For something like SSE to work you'd need both wasm and wasm2c to support it. Wasm doesn't support all of SSE, but wasm does have SIMD support which is a porta
by azakai 5y ago
For something like SSE to work you'd need both wasm and wasm2c to support it.
Wasm doesn't support all of SSE, but wasm does have SIMD support which is a portable subset of common SIMD instructions. You may lose some performance there, but wasm is adding more instructions to help (see "relaxed-simd"). There are also headers to help translate between SSE and wasm SIMD for existing code where possible.
wasm2c does have support for wasm SIMD, although I believe it is not 100% complete yet.