simd icon indicating copy to clipboard operation
simd copied to clipboard

Shipping progress

Open tlively opened this issue 4 years ago • 20 comments

This issue is meant to track which projects have updated their implementation to match the final proposal and have shipped by default, if applicable.

Project status
V8 released in 9.1.54
SpiderMonkey
LLVM Updated upstream, will be released in 13.0
Binaryen released in 101
WABT released in 1.0.22
wasmparser.rs released in 0.76.0
wasdk/wasmparser released in 5.0.1
CodeMirror in trunk; to be released in 5.59.5
Emscripten
Rust intrinsics available on nightly, stable in 1.54.0+ (2021-07-29 release date)
Chrome released in Chrome 91
Firefox in nightly; Firefox 89 on x86/x64
Node released in 16.4.0
WAMR
Wasmtime
Lucet
WAVM in trunk
SSVM
Wasmer on master

tlively avatar Feb 23 '21 19:02 tlively

Can we add WAMR, Wasmtime, and Lucet to that list? Perhaps WAVM and SSVM as well?

abrown avatar Feb 24 '21 19:02 abrown

(Should we update the implementation status document for those runtimes as well?)

abrown avatar Feb 24 '21 19:02 abrown

Now that the proposal is finalized, the more fine-grained status documents aren't as useful IMO because support has become more or less binary.

tlively avatar Feb 24 '21 21:02 tlively

Can we add Wasmer to the list? Thanks!

syrusakbary avatar Mar 02 '21 00:03 syrusakbary

Can we add https://github.com/wasdk/wasmparser too? (note this is not the .rs one, this is used by Chrome DevTools iiuc)

ngzhian avatar Mar 02 '21 22:03 ngzhian

Interesting, I've never seen that one before. Added!

tlively avatar Mar 02 '21 23:03 tlively

For authors of tools, https://github.com/ngzhian/simd-opcodes might be handy, it's just a csv of opcodes (in int and hex) and names of instructions (and also signature, if it takes a memarg, and how many immediates they take). This might be useful for tools to use to generate whatever they need to in order to update their opcodes/add new opcodes.

ngzhian avatar Mar 03 '21 01:03 ngzhian

@tlively I just realized that CodeMirror is missing from the list above. Without CodeMirror support (in the wast mode), SIMD instructions syntax highlighting will be wrong/confusing to developers in their DevTools.

bmeurer avatar Mar 03 '21 17:03 bmeurer

wasdk/wasmparser has the changes in 5.0.1 (see https://github.com/wasdk/wasmparser/pull/92#issuecomment-790311183)

ngzhian avatar Mar 04 '21 19:03 ngzhian

V8 update just got merged in https://crrev.com/c/2728432, it will be in version 9.1.54 (once I know the Chrome Canary version I'll share it here.)

ngzhian avatar Mar 05 '21 17:03 ngzhian

CodeMirror is updated https://github.com/codemirror/CodeMirror/pull/6613 (should be in 5.59.5, based on numberings so far).

ngzhian avatar Mar 10 '21 01:03 ngzhian

As of this commit, WAVM supports the final SIMD proposal.

AndrewScheidecker avatar Mar 15 '21 16:03 AndrewScheidecker

Chrome canary supports SIMD on by default as of 91.0.4442.4 on Linux, and 91.0.4441.0+ on other platforms (Windows, Mac, Android).

dtig avatar Mar 15 '21 18:03 dtig

I updated LLVM's status. All operations LLVM supports have the correct names and numbers, but it does not yet support all the new operations. wasm_simd128.h also has not yet been updated, but its planned changes are discussed in #342.

tlively avatar Mar 18 '21 18:03 tlively

wabt 1.0.22 is up to date (https://github.com/WebAssembly/wabt/pull/1650)

ngzhian avatar Mar 23 '21 23:03 ngzhian

Thanks for working on that, @ngzhian!

tlively avatar Mar 24 '21 03:03 tlively

Firefox 89 (now in Nightly) on x86/x64 is believed to have all instructions with final opcode assignments.

lars-t-hansen avatar Mar 24 '21 06:03 lars-t-hansen

Wasmer now supports the final SIMD opcodes (with all spectests passing) for x86 and aarch64 in master 🚀

More info: https://github.com/wasmerio/wasmer/pull/2156

syrusakbary avatar May 15 '21 10:05 syrusakbary

The Rust language support for the simd proposal is in the home stretch and things are about to become stable and much more difficult to change after that point. A high-level summary of Rust's support is:

If anyone is curious feel free to check out the APIs and/or naming and such. Always willing to hear feedback on that! The tracking issue is in "FCP" as of this moment. This means that there's another week or so for any final concerns to be raised. If no concerns are raised then these will become stable on the nightly channel for Rust and will get released as part of Rust 1.54.

Once this all lands the std::arch::wasm32 module in Rust's standard library (and the corresponding core::arch::wasm32 module) will have all the necessary functions/intrinsics/types to generate wasm binaries that use this proposal.

alexcrichton avatar May 20 '21 22:05 alexcrichton

Node.js now supports the final SIMD opcodes as of version 16.4.0, since V8 was updated to 9.1.269.36 (https://github.com/nodejs/node/pull/38273).

kleisauke avatar Jun 24 '21 08:06 kleisauke