summaryrefslogtreecommitdiff
path: root/test/spec/bulk-array.wast
Commit message (Collapse)AuthorAgeFilesLines
* Implement array.fill, array.init_data, and array.init_elem (#5637)Thomas Lively2023-04-061-198/+330
| | | | | These complement array.copy, which we already supported, as an initial complete set of bulk array operations. Replace the WIP spec tests with the upstream spec tests, lightly edited for compatibility with Binaryen.
* Add bulk-array.wast spec test outline (#5568)Thomas Lively2023-03-161-0/+225
Add spec/bulk-array.wast, which contains an outline of the tests that will be necessary for the upcoming bulk array instructions: array.copy (already implemented), array.fill, array.init_data, and array.init_elem. Although the test file does not actually contain any tests yet, it contains some setup code defining types, globals, and element segments that the tests will use. Fix miscellaneous bugs in parsing, validation, and printing to allow this setup code to run without issues.