-
Couldn't load subscription status.
- Fork 192
Add WebAssembly features, take 2 #1970
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
Merged
Merged
Changes from 3 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
5596c06
Add WebAssembly features
petele c7900eb
Some fixes per Dietrich
Elchi3 b38a7ce
npm run dist
Elchi3 679d1cb
Fixes to descriptions
Elchi3 d2ab157
Use compute_from to match caniuse
Elchi3 9aa7b1b
Move extended constant expression to an own feature
Elchi3 48b0760
Adress more feedback
Elchi3 7a4bc0b
Merge branch 'main' into wasm
Elchi3 06b6cc3
npm run dist
Elchi3 fe5acf7
Update descriptions, add specs
Elchi3 546e95d
Add spec url exceptions
Elchi3 3266a70
Add a webassembly group
Elchi3 7856568
Merge branch 'main' into wasm
Elchi3 74aa1bb
Apply suggestions from code review
Elchi3 7c7bdd8
undo SIMD ID renaming
Elchi3 03d2556
npm run dist
Elchi3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
features/draft/spec/wasm-js-api-2-fork-exception-handling.yml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 bidirectionally converting BigInts and 64-bit WebAssembly integer values. | ||
Elchi3 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| spec: https://webassembly.github.io/spec/js-api/#ref-for-syntax-numtype①⓪ | ||
| caniuse: wasm-bigint | ||
| compat_features: | ||
| - webassembly.BigInt-to-i64-integration | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| name: WebAssembly bulk memory operations | ||
Elchi3 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| description: An extension to WebAssembly adding bulk memory operations and conditional segment initialization. | ||
Elchi3 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| spec: https://webassembly.github.io/gc/core/bikeshed/ | ||
| caniuse: wasm-bulk-memory | ||
| compat_features: | ||
| - webassembly.bulk-memory-operations | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: "75" | ||
| chrome_android: "75" | ||
| edge: ≤80 | ||
| firefox: "78" | ||
| firefox_android: "79" | ||
| safari: "15.1" | ||
| safari_ios: "15.1" | ||
| compat_features: | ||
| - webassembly.bulk-memory-operations |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. | ||
Elchi3 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 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 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
2 changes: 1 addition & 1 deletion
2
...s/draft/spec/wasm-core-2-fork-gc.yml.dist → features/wasm-garbage-collection.yml.dist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| name: WebAssembly multi-memory | ||
| description: An extension to WebAssembly to allow the use of multiple memories within a single Wasm module. | ||
Elchi3 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| spec: https://webassembly.github.io/gc/core/bikeshed/ | ||
| compat_features: | ||
| - webassembly.multiMemory | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| name: WebAssembly import and export of mutable globals | ||
| description: An extension to WebAssembly import and export of mutable global variables. | ||
Elchi3 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| spec: https://webassembly.github.io/gc/core/bikeshed/ | ||
| caniuse: wasm-mutable-globals | ||
| compat_features: | ||
| - webassembly.mutable-globals | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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-03-24 | ||
| baseline_high_date: ≤2022-09-24 | ||
| support: | ||
| chrome: "69" | ||
| chrome_android: "69" | ||
| edge: ≤80 | ||
| firefox: "62" | ||
| firefox_android: "62" | ||
| safari: ≤13.1 | ||
| safari_ios: ≤13.4 | ||
| compat_features: | ||
| - webassembly.mutable-globals |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| name: WebAssembly SIMD | ||
| name: WebAssembly SIMD (fixed width) | ||
| 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 |
2 changes: 1 addition & 1 deletion
2
features/wasm-simd.yml.dist → features/wasm-simd-fixed.yml.dist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| name: WebAssembly SIMD (relaxed width) | ||
Elchi3 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 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). | ||
| spec: https://webassembly.github.io/spec/core/bikeshed/#vector-instructions | ||
| compat_features: | ||
| - webassembly.relaxed-SIMD | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. | ||
Elchi3 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| spec: https://webassembly.github.io/gc/core/bikeshed/ | ||
| compat_features: | ||
| - webassembly.tail-calls | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.