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

Update to latest Binaryen #911

Merged
merged 2 commits into from Oct 16, 2019
Merged

Update to latest Binaryen #911

merged 2 commits into from Oct 16, 2019

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Oct 15, 2019

This PR accounts for recent changes in Binaryen's C-API and introduces

  • v128.andnot(a: v128, b: v128): v128
  • v128.swizzle(a: v128, s: v128): v128
  • v128.load_splat<T>(ptr: usize, immOffset?: usize, immAlign?: usize): v128
  • v128.load_ext<TFrom>(ptr: usize, immOffset?: usize, immAlign?: usize): v128

along their respective inline-assembler-ish counterparts reflecting Wasm text format, as well as custom section support originally added for #890.

Like other relatively fresh instructions, these can't be properly tested yet due to missing implementations in Binaryen's interpreter. Added some commented out tests that we can use as a starting point eventually, though.

@MaxGraey
Copy link
Member

LGTM

@dcodeIO dcodeIO merged commit 274c571 into master Oct 16, 2019
@dcodeIO dcodeIO mentioned this pull request Oct 19, 2019
@dcodeIO dcodeIO deleted the update-binaryen4 branch November 8, 2019 01:59
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.

None yet

2 participants