Skip to content

Conversation

@rossberg
Copy link
Member

@rossberg rossberg commented Sep 5, 2016

No description provided.

@lukewagner
Copy link
Member

lgtm

@rossberg
Copy link
Member Author

rossberg commented Sep 7, 2016

Merged into binary-0xc.

@rossberg rossberg closed this Sep 7, 2016
@rossberg rossberg deleted the mut branch May 18, 2017 11:16
ngzhian added a commit to ngzhian/spec that referenced this pull request Nov 4, 2021
* Implement JS output for SIMD

V128 is not exposed to JS at all, so transform all functions with V128
in the signatures into consts, compare with the expected value, and
reduce it to a int32.

An assertion against a SimdResult needs to be converted into a plain
Const containing a v128. This conversion is tricky since SimdResult can
contain both LitPat and NanPat. NaNs need special treatment to mask and
compare to a canonical value. For simplicity, we build a mask for all
the patterns in a SimdResult (even for literals, which will have a mask
with all bits set). That way the test is consistent:

- v128.const(mask)
- v128.and
- v128.const(expected)
- i8x16.eq
- i8x16.all_true
- br_if 0 to unreachable

* Formatting fixes

Co-authored-by: Andreas Rossberg <[email protected]>

* Remove redundant prefixes

Co-authored-by: Andreas Rossberg <[email protected]>
dhil pushed a commit to dhil/webassembly-spec that referenced this pull request Oct 3, 2023
Now that we're in phase 3, the design should be relatively stable.
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.

3 participants