Skip to content

Update testsuite #1275

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 1 commit into from
Jan 9, 2020
Merged

Update testsuite #1275

merged 1 commit into from
Jan 9, 2020

Conversation

sbc100
Copy link
Member

@sbc100 sbc100 commented Dec 26, 2019

The two primary changes involved are:

  1. Removal of assert_return_canonical_nan/arithetic nan in favor of
    special nan:canonical/nan:arithmetic constants that can only be
    used in test expectations.
    See: [interpreter] Unify assert_result* assertions spec#1104

  2. New trapping behaviour for bulk memory operations. Range checks are
    now performed up front for opterations such as memory.fill and
    memory.copy.
    See: memory.copy|fill semantics limit optimizations for short constant lengths bulk-memory-operations#111
    And: [exec] Bounds check bulk-memory before execution bulk-memory-operations#123
    The old behaviour is still kept around to support table.fill which
    is defined in reference-types proposal and has yet to be updated.

@sbc100 sbc100 requested review from binji and aardappel December 26, 2019 09:36
@sbc100 sbc100 force-pushed the update_testsuite branch 2 times, most recently from c9d15d2 to b4c17b9 Compare December 26, 2019 10:28
@vshymanskyy
Copy link

This is really important for https://github.com/wasm3/wasm3.
Thanks!

Copy link
Member

@binji binji left a comment

Choose a reason for hiding this comment

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

lgtm, generally. Few comments below

@sbc100
Copy link
Member Author

sbc100 commented Jan 9, 2020

This change for a little smaller thanks to #1278

@sbc100 sbc100 force-pushed the update_testsuite branch 3 times, most recently from 039160b to f48eabd Compare January 9, 2020 16:00
The two primary changes involved are:

1. Removal of `assert_return_canonical_nan`/`arithetic nan` in favor of
   special `nan:canonical`/`nan:arithmetic` constants that can only be
   used in test expectations.
   See: WebAssembly/spec#1104

2. New trapping behaviour for bulk memory operations.  Range checks are
   now performed up front for opterations such as memory.fill and
   memory.copy.
   See: WebAssembly/bulk-memory-operations#111
   And: WebAssembly/bulk-memory-operations#123
   The old behaviour is still kept around to support table.fill which
   is defined in reference-types proposal and has yet to be updated.

3. nullref is now permitted in the text and binary format.
@sbc100 sbc100 merged commit 415c3bb into master Jan 9, 2020
@sbc100 sbc100 deleted the update_testsuite branch January 9, 2020 19:36
@vshymanskyy
Copy link

Thanks! The updated wasm2json worked fine for wasm3 use case!

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.

4 participants