Skip to content
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

SIMD: Add i64x2.all_true, i64x2.eq, i64x2.ne #212

Merged
merged 2 commits into from
Feb 4, 2021

Conversation

yurydelendik
Copy link
Contributor

@yurydelendik yurydelendik commented Jan 27, 2021

See WebAssembly/simd#381, WebAssembly/simd#411, WebAssembly/simd#415. These have been accepted into the spec.

TODO:

  • binary encodings for i64x2.eq and i64x2.ne

@yurydelendik yurydelendik changed the title Add i64x2.all_true, i64x2.eq, i64x2.ne SIMD: Add i64x2.all_true, i64x2.eq, i64x2.ne Jan 27, 2021
@yurydelendik
Copy link
Contributor Author

atm selecting 0xfd c0 for "i64x2.eq" (based on the code in binaryen), and 0xfd c2 for "i64x2.ne"

Copy link
Member

@alexcrichton alexcrichton left a comment

Choose a reason for hiding this comment

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

Thanks! Should merging hold off though until the upstream opcodes are assigned numbers?

@yurydelendik
Copy link
Contributor Author

Should merging hold off though until the upstream opcodes are assigned numbers?

Probably. I think 0xfd c0 will stay, not sure about other one. @lars-t-hansen ?

@lars-t-hansen
Copy link
Contributor

i64x2.all_true also appears to be a mess: WebAssembly/simd#415 (comment), a consequence of insisting on "logical" blocks of instructions while not setting aside large enough open spaces, combined with a bug in V8 that disallows opcodes > 255.

@alexcrichton
Copy link
Member

Well in any case y'all are much more up-to-date on simd than I am anyway, so I'm happy to merge whenever y'all are comfortable about the opcodes.

@yurydelendik
Copy link
Contributor Author

@yurydelendik yurydelendik marked this pull request as ready for review February 4, 2021 00:16
@alexcrichton alexcrichton merged commit 7433b4b into bytecodealliance:main Feb 4, 2021
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