-
Notifications
You must be signed in to change notification settings - Fork 197
Add WebAssembly features #1634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add WebAssembly features #1634
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| name: WebAssembly BigInt to i64 conversion in JS | ||
| description: An extension to the WebAssembly JS API for bidrectionally converting BigInts and 64-bit WebAssembly integer values. | ||
| spec: https://webassembly.github.io/spec/js-api/ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there a place in the spec to link to which is more specifically about this feature? |
||
| caniuse: wasm-bigint | ||
| compat_features: | ||
| - webassembly.BigInt-to-i64-integration | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Generated from: wasm-bigint.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: high | ||
| baseline_low_date: 2021-04-26 | ||
| baseline_high_date: 2023-10-26 | ||
| support: | ||
| chrome: "85" | ||
| chrome_android: "85" | ||
| edge: "85" | ||
| firefox: "78" | ||
| firefox_android: "79" | ||
| safari: "14.1" | ||
| safari_ios: "14.5" | ||
| compat_features: | ||
| - webassembly.BigInt-to-i64-integration |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| name: WebAssembly bulk memory operations | ||
| description: An extension to WebAssembly adding bulk memory operations and conditional segment initialization. | ||
| spec: https://webassembly.github.io/gc/core/bikeshed/ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| caniuse: wasm-bulk-memory | ||
| compat_features: | ||
| - webassembly.bulk-memory-operations | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Generated from: wasm-bulk-memory.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: high | ||
| baseline_low_date: 2021-10-25 | ||
| baseline_high_date: 2024-04-25 | ||
| support: | ||
| chrome: ≤80 | ||
| chrome_android: "80" | ||
| edge: ≤80 | ||
| firefox: "78" | ||
| firefox_android: "79" | ||
| safari: "15.1" | ||
| safari_ios: "15.1" | ||
| compat_features: | ||
| - webassembly.bulk-memory-operations |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| name: WebAssembly exception handling | ||
| description: Exception handling allows code to break control flow when an exception is thrown. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| spec: https://webassembly.github.io/exception-handling/js-api/ | ||
| status: | ||
| compute_from: webassembly.api.Exception | ||
| compat_features: | ||
| - webassembly.exception-handling | ||
| - webassembly.api.Exception | ||
| - webassembly.api.Exception.Exception | ||
| - webassembly.api.Exception.getArg | ||
| - webassembly.api.Exception.is | ||
| - webassembly.api.Tag | ||
| - webassembly.api.Tag.Tag | ||
| - webassembly.api.Tag.type | ||
| - webassembly.api.Exception.Exception.options_parameter_traceStack | ||
| - webassembly.api.Exception.stack | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| name: WebAssembly garbage collection | ||
| description: An extension to WebAssembly adding support for garbage collection. | ||
| spec: https://webassembly.github.io/gc/core/bikeshed/ | ||
| compat_features: | ||
| - webassembly.garbage-collection |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| name: WebAssembly multi-memory | ||
| description: An extension to WebAssembly to all the use of multiple memories within a single Wasm module. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. s/all/allow/ |
||
| spec: https://webassembly.github.io/gc/core/bikeshed/ | ||
| compat_features: | ||
| - webassembly.multiMemory | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Generated from: wasm-multi-memory.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| chrome: "120" | ||
| chrome_android: "120" | ||
| edge: "120" | ||
| firefox: "125" | ||
| firefox_android: "125" | ||
| compat_features: | ||
| - webassembly.multiMemory |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| name: WebAssembly multi-value | ||
| description: An extension to WebAssembly allowing instructions, blocks and functions to produce multiple result values. | ||
| spec: https://webassembly.github.io/gc/core/bikeshed/ | ||
| caniuse: wasm-multi-value | ||
| compat_features: | ||
| - webassembly.multi-value |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Generated from: wasm-multi-value.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: high | ||
| baseline_low_date: 2020-10-20 | ||
| baseline_high_date: 2023-04-20 | ||
| support: | ||
| chrome: "86" | ||
| chrome_android: "86" | ||
| edge: "86" | ||
| firefox: "78" | ||
| firefox_android: "79" | ||
| safari: ≤13.1 | ||
| safari_ios: ≤13.4 | ||
| compat_features: | ||
| - webassembly.multi-value |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| name: WebAssembly import & export of mutable globals | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suspect we should s/&/and/ here |
||
| description: An extension to WebAssembly import and export of mutable global variables. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I read it out loud a couple times, sounds like a missing word here |
||
| spec: https://webassembly.github.io/gc/core/bikeshed/ | ||
| caniuse: wasm-mutable-globals | ||
| compat_features: | ||
| - webassembly.mutable-globals | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Generated from: wasm-mutable-globals.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: high | ||
| baseline_low_date: 2020-07-28 | ||
| baseline_high_date: 2023-01-28 | ||
| support: | ||
| chrome: ≤80 | ||
| chrome_android: "80" | ||
| edge: ≤80 | ||
| firefox: ≤72 | ||
| firefox_android: "79" | ||
| safari: ≤13.1 | ||
| safari_ios: ≤13.4 | ||
| compat_features: | ||
| - webassembly.mutable-globals |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| name: WebAssembly non-trapping float-to-int conversion | ||
| description: An extension to WebAssembly adding floating-point to integer conversion operators which saturate instead of trapping. | ||
| spec: https://webassembly.github.io/gc/core/bikeshed/ | ||
| caniuse: wasm-nontrapping-fptoint | ||
| compat_features: | ||
| - webassembly.non-trapping-float-to-int-conversions |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Generated from: wasm-non-trapping-float-to-int.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: high | ||
| baseline_low_date: 2021-10-25 | ||
| baseline_high_date: 2024-04-25 | ||
| support: | ||
| chrome: ≤80 | ||
| chrome_android: "80" | ||
| edge: ≤80 | ||
| firefox: ≤72 | ||
| firefox_android: "79" | ||
| safari: "15.1" | ||
| safari_ios: "15.1" | ||
| compat_features: | ||
| - webassembly.non-trapping-float-to-int-conversions |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| name: WebAssembly reference types | ||
| description: An extension to WebAssembly allowing opaque references as first-class types, and multiple tables. | ||
| spec: https://webassembly.github.io/gc/core/bikeshed/ | ||
| caniuse: wasm-reference-types | ||
| compat_features: | ||
| - webassembly.reference-types |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Generated from: wasm-reference-types.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: high | ||
| baseline_low_date: 2021-11-19 | ||
| baseline_high_date: 2024-05-19 | ||
| support: | ||
| chrome: "96" | ||
| chrome_android: "96" | ||
| edge: "96" | ||
| firefox: "79" | ||
| firefox_android: "79" | ||
| safari: "15.1" | ||
| safari_ios: "15.1" | ||
| compat_features: | ||
| - webassembly.reference-types |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| name: WebAssembly sign extension operators | ||
| description: An extension to WebAssembly adding sign-extension operator instructions. | ||
| spec: https://webassembly.github.io/gc/core/bikeshed/ | ||
| caniuse: wasm-signext | ||
| compat_features: | ||
| - webassembly.sign-extension-operations |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Generated from: wasm-sign-extension-operators.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: high | ||
| baseline_low_date: 2021-04-26 | ||
| baseline_high_date: 2023-10-26 | ||
| support: | ||
| chrome: ≤80 | ||
| chrome_android: "80" | ||
| edge: ≤80 | ||
| firefox: ≤72 | ||
| firefox_android: "79" | ||
| safari: "14.1" | ||
| safari_ios: "14.5" | ||
| compat_features: | ||
| - webassembly.sign-extension-operations |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| name: WebAssembly SIMD | ||
| name: WebAssembly SIMD (fixed width) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was on the fence about parens in names, but there's an example in the docs which does it, so 👍🏼 |
||
| description: The 128-bit SIMD (Single Instruction Multiple Data) extension to WebAssembly performs one instruction on multiple units of data, when running on hardware that supports such instructions. Also known as vector instructions. | ||
| spec: https://webassembly.github.io/spec/core/bikeshed/#vector-instructions | ||
| caniuse: wasm-simd | ||
| compat_features: | ||
| - webassembly.fixed-width-SIMD | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| name: WebAssembly SIMD (relaxed width) | ||
| description: The relaxed SIMD (Single Instruction Multiple Data) extension adds instructions that introduce local non-determinism (where the results of the instructions may vary based on hardware support). | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would read better without the long second set of parens, if possible to remix that way. |
||
| spec: https://webassembly.github.io/spec/core/bikeshed/#vector-instructions | ||
| compat_features: | ||
| - webassembly.relaxed-SIMD | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Generated from: wasm-simd-relaxed.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| chrome: "114" | ||
| chrome_android: "114" | ||
| edge: "114" | ||
| compat_features: | ||
| - webassembly.relaxed-SIMD |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| name: WebAssembly tail calls | ||
| description: An extension to WebAssembly to optimize tail calls by discarding the caller frame and replacing the call with a jump. | ||
| spec: https://webassembly.github.io/gc/core/bikeshed/ | ||
| compat_features: | ||
| - webassembly.tail-calls |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Generated from: wasm-tail-calls.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| chrome: "112" | ||
| chrome_android: "112" | ||
| edge: "112" | ||
| firefox: "121" | ||
| firefox_android: "121" | ||
| compat_features: | ||
| - webassembly.tail-calls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.