Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

Shipping progress #480

Open
tlively opened this issue Feb 23, 2021 · 20 comments
Open

Shipping progress #480

tlively opened this issue Feb 23, 2021 · 20 comments
Labels

Comments

@tlively
Copy link
Member

tlively commented Feb 23, 2021

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
@abrown
Copy link
Contributor

abrown commented Feb 24, 2021

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

@abrown
Copy link
Contributor

abrown commented Feb 24, 2021

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

@tlively
Copy link
Member Author

tlively commented Feb 24, 2021

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.

@syrusakbary
Copy link

Can we add Wasmer to the list? Thanks!

@ngzhian
Copy link
Member

ngzhian commented Mar 2, 2021

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

@tlively
Copy link
Member Author

tlively commented Mar 2, 2021

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

@ngzhian
Copy link
Member

ngzhian commented Mar 3, 2021

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.

@bmeurer
Copy link

bmeurer commented Mar 3, 2021

@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.

@ngzhian
Copy link
Member

ngzhian commented Mar 4, 2021

wasdk/wasmparser has the changes in 5.0.1 (see wasdk/wasmparser#92 (comment))

@ngzhian
Copy link
Member

ngzhian commented Mar 5, 2021

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
Copy link
Member

ngzhian commented Mar 10, 2021

CodeMirror is updated codemirror/codemirror5#6613 (should be in 5.59.5, based on numberings so far).

@AndrewScheidecker
Copy link
Contributor

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

@dtig
Copy link
Member

dtig commented Mar 15, 2021

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).

@tlively
Copy link
Member Author

tlively commented Mar 18, 2021

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.

@ngzhian
Copy link
Member

ngzhian commented Mar 23, 2021

wabt 1.0.22 is up to date (WebAssembly/wabt#1650)

@tlively
Copy link
Member Author

tlively commented Mar 24, 2021

Thanks for working on that, @ngzhian!

@lars-t-hansen
Copy link
Contributor

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

@syrusakbary
Copy link

syrusakbary commented May 15, 2021

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

More info: wasmerio/wasmer#2156

@alexcrichton
Copy link
Contributor

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.

@kleisauke
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

10 participants