Uh oh!
There was an error while loading. Please reload this page.
std: Stabilize wasm simd intrinsics - #86204
Conversation
rust-highfive
commented
Jun 10, 2021
r? @estebank (rust-highfive has picked a reviewer for you, use r? to override) |
rust-highfive
commented
Jun 10, 2021
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
alexcrichton
commented
Jun 10, 2021
r? @Amanieu |
Amanieu
commented
Jun 11, 2021
@bors r+ rollup=never |
bors
commented
Jun 11, 2021
📌 Commit 858f1610db058f75a53ead9c9d72213fd14c3343 has been approved by |
bors
commented
Jun 11, 2021
⌛ Testing commit 858f1610db058f75a53ead9c9d72213fd14c3343 with merge a3221661d8c059c59ef78b87bad2e99b9d00e78b... |
This comment has been minimized.
This comment has been minimized.
bors
commented
Jun 11, 2021
💔 Test failed - checks-actions |
This commit performs two changes to stabilize Rust support for WebAssembly simd intrinsics: * The stdarch submodule is updated to pull in rust-lang/stdarch#1179. * The `wasm_target_feature` feature gate requirement for the `simd128` feature has been removed, stabilizing the name `simd128`. This should conclude the FCP started on rust-lang#74372 and... Closesrust-lang#74372
858f161 to
e05bb26Comparealexcrichton
commented
Jun 11, 2021
@bors: r=Amanieu |
bors
commented
Jun 11, 2021
📌 Commit e05bb26 has been approved by |
bors
commented
Jun 11, 2021
bors
commented
Jun 11, 2021
☀️ Test successful - checks-actions |
ehuss
commented
Jun 11, 2021
@alexcrichton Would you be willing to post a PR to update the documentation for this? I think it would go here as a new table for wasm. And if I'm reading this right, it would just need one entry for |
alexcrichton
commented
Jun 11, 2021
Certainly! |
Also document the `simd128` feature stabilized in rust-lang/rust#86204
This commit adds simd acceleration support to the `memmem` module. This is added with the freshly-stabilized support from rust-lang/rust#86204. This mostly just cribs off the generic simd support for 128-bit types built for sse, copying bits and pieces of code here and there. Some refactoring happened internally to help reduce duplication where possible. I ran some initial benchmarks with the `memmem/krate/*` regex and a hacked up single-threaded version of criterion. Some [initial comparisons][compare] using Wasmtime as a runtime do indeed show a lot of improvements, but there are indeed some slowdowns as well. [compare]: https://gist.github.com/alexcrichton/6a72e682e7b6d505ade605359fbe3f2d
This commit adds simd acceleration support to the `memmem` module. This is added with the freshly-stabilized support from rust-lang/rust#86204. This mostly just cribs off the generic simd support for 128-bit types built for sse, copying bits and pieces of code here and there. Some refactoring happened internally to help reduce duplication where possible. I ran some initial benchmarks with the `memmem/krate/*` regex and a hacked up single-threaded version of criterion. Some [initial comparisons][compare] using Wasmtime as a runtime do indeed show a lot of improvements, but there are indeed some slowdowns as well. [compare]: https://gist.github.com/alexcrichton/6a72e682e7b6d505ade605359fbe3f2d
This commit adds simd acceleration support to the `memmem` module. This is added with the freshly-stabilized support from rust-lang/rust#86204. This mostly just cribs off the generic simd support for 128-bit types built for sse, copying bits and pieces of code here and there. Some refactoring happened internally to help reduce duplication where possible. I ran some initial benchmarks with the `memmem/krate/*` regex and a hacked up single-threaded version of criterion. Some [initial comparisons][compare] using Wasmtime as a runtime do indeed show a lot of improvements, but there are indeed some slowdowns as well. [compare]: https://gist.github.com/alexcrichton/6a72e682e7b6d505ade605359fbe3f2d
This commit adds simd acceleration support to the `memmem` module. This is added with the freshly-stabilized support from rust-lang/rust#86204. This mostly just cribs off the generic simd support for 128-bit types built for sse, copying bits and pieces of code here and there. Some refactoring happened internally to help reduce duplication where possible. I ran some initial benchmarks with the `memmem/krate/*` regex and a hacked up single-threaded version of criterion. Some [initial comparisons][compare] using Wasmtime as a runtime do indeed show a lot of improvements, but there are indeed some slowdowns as well. [compare]: https://gist.github.com/alexcrichton/6a72e682e7b6d505ade605359fbe3f2d
This commit adds simd acceleration support to the `memmem` module. This is added with the freshly-stabilized support from rust-lang/rust#86204. This mostly just cribs off the generic simd support for 128-bit types built for sse, copying bits and pieces of code here and there. Some refactoring happened internally to help reduce duplication where possible. I ran some initial benchmarks with the `memmem/krate/*` regex and a hacked up single-threaded version of criterion. Some [initial comparisons][compare] using Wasmtime as a runtime do indeed show a lot of improvements, but there are indeed some slowdowns as well. [compare]: https://gist.github.com/alexcrichton/6a72e682e7b6d505ade605359fbe3f2d PR #84
This commit performs two changes to stabilize Rust support for
WebAssembly simd intrinsics:
wasm_target_featurefeature gate requirement for thesimd128feature has been removed, stabilizing the name
simd128.This should conclude the FCP started on #74372 and...
Closes#74372