Skip to content

Merge upstream spec#207

Merged
conrad-watt merged 26 commits intoWebAssembly:upstream-rebuildfrom
ioannad:merge-upstream
Aug 29, 2023
Merged

Merge upstream spec#207
conrad-watt merged 26 commits intoWebAssembly:upstream-rebuildfrom
ioannad:merge-upstream

Conversation

@ioannad
Copy link
Contributor

@ioannad ioannad commented Aug 29, 2023

Conflicts:
document/core/exec/instructions.rst
- In several places, \lanes^{-1}_{\X{i} was later in the spec changed to \lanes^{-1}_{\K{i}
- Likewise \lanes^{-1}_{\iN was changed to \lanes^{-1}_{\IN.
- Also \lanes_{\K{i}N\K{x} was changed to \lanes_{\IN\K{x} (line 2182 and 2214)
- A forgotten \V128.\LOAD{N} was corrected in threads to \V128\K{.}\LOAD{N}

keithw and others added 26 commits April 27, 2023 10:45
* Add test for the module size limit

The limits test did not test the maximum supported module size of 1GB yet. This PR adds tests which create modules consisting of a single custom section. The first test checks if a module of size 1GB is allowed, the second test checks that a module of size 1GB + 1 byte gets rejected.

* Some cleanup
* Remove duplicated binary tests

Those tests were moved to `binary-leb128.wast` in #1019, but #1287
brought them back.

* Remove more duplicated tests
This merges part of WebAssembly/memory64#14 to make the tests fail both
before and after memory64. This allows engines to enable memory64
without failing spec tests.
Tests for LEB128 should be in the separate `binary-leb128.wast` test
file.
* Allow test for module size limit to fail

Allocating a 1GB Uint8Array can fail. In particular, it will always fail
on 32-bit systems in V8, where the maximum size of a TypedArray is
2^30-1, thus 1 byte too little.
depended → dependent
…port

Conflicts:
	document/core/exec/instructions.rst
- In several places, `:math:`\lanes^{-1}_{\X{i}` was later in the spec changed to `:math:`\lanes^{-1}_{\K{i}`
- Likewise `:math:`\lanes^{-1}_{\iN` was changed to `:math:`\lanes^{-1}_{\IN`.
- Also `:math:`\lanes_{\K{i}N\K{x}` was changed to `:math:`\lanes_{\IN\K{x}` (line 2182 and 2214)
- A forgotten `\V128.\LOAD{N}` was corrected in threads to `\V128\K{.}\LOAD{N}`
Copy link
Collaborator

@conrad-watt conrad-watt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@conrad-watt conrad-watt merged commit e19c1f4 into WebAssembly:upstream-rebuild Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.