4 ms·
I didn't know SIMD was supported in WASM spec. Is it custom binary or they've improved WASM?
by dlojudice 5y ago
I didn't know SIMD was supported in WASM spec. Is it custom binary or they've improved WASM?
- Lev1a 5y agoYou can see "Standardized features" and "In-progress proposals" in this table here: https://webassembly.org/roadmap/ https://webassembly.org/roadmap/
- espadrine 5y agoThe SIMD proposal is in stage 4. It is released in V8, and behind a flag in Firefox. https://v8.dev/features/simd https://v8.dev/features/simd
- CryZe 5y agoIt is also released in Firefox (x86 only, ARM is in the next release iirc)
- devwastaken 5y agoIt's a spec in addition to the initial we assembly spec. It's supported by clang/llvm, V8, firefox, and some standalone runtimes like wasmer. SIMD for wasm is all 128bit operations. I've been working with it and so far it works pretty fast, but there's missing support for some operations. Namely lack of support for saturation/truncation operations.