Skip to content
This repository was archived by the owner on May 20, 2020. It is now read-only.
This repository was archived by the owner on May 20, 2020. It is now read-only.

Implement assert_return_*_nan_* #23

Closed

Description

@abrown

I see that in WAVM/WAVM#187 they have switched the assert_return_canonical_nan and assert_return_arithmetic_nan to support a type parameter for v128s. It looks like two different styles are discussed there:

  • (assert_return_canonical_nan (invoke ...) f32x4)
  • (assert_return_canonical_nan_f32x4 (invoke ...))

We should pick one of these and add it to ast/wast.rs; it looks like the comments in WAVM/WAVM#187 lean towards the former but I do see that @Honry used the latter in https://github.com/WebAssembly/simd/blob/master/test/core/simd/simd_f32x4.wast#L994 and following.

Activity

  1. alexcrichton commented on Nov 4, 2019

    @alexcrichton
    Member

    Sounds reasonable to me! I'd be down for a PR to add these variants.

  2. added 4 commits that reference this issue on Nov 4, 2019
    a09e758
    491185b
    3418661
    c9830b1
  3. alexcrichton commented on Dec 17, 2019

    @alexcrichton
    Member

    Added in #33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions