Skip to content

chore: syncing of wasm-exts to provide new instructions (e.g. SIMD!)#6043

Draft
ggreif wants to merge 1 commit intomasterfrom
gabor/wasm-exts-sync
Draft

chore: syncing of wasm-exts to provide new instructions (e.g. SIMD!)#6043
ggreif wants to merge 1 commit intomasterfrom
gabor/wasm-exts-sync

Conversation

@ggreif
Copy link
Copy Markdown
Contributor

@ggreif ggreif commented Apr 22, 2026

Summary

Tracking branch for syncing the vendored wasm-exts library with upstream to pick up newer Wasm instruction support — SIMD being the most immediate carrot, but also EOP32/EOP64 refinements, table refs, etc.

Motivation

Motoko's wasm-exts fork lags the upstream reference-types/simd/relaxed-simd work. Pulling it forward unlocks:

  • SIMD codegen for numeric kernels (Float32 vector ops, bignum inner loops, hash/crypto).
  • Cleaner upstream diff so future syncs stay cheap.

Scope

Starting empty — this PR just carries the abstract-interpreter.md plan doc moved over from PR #5961's branch, since the sync work will want to reason about how constant-tracking survives the new opcodes. Actual wasm-exts bumps and codegen plumbing land in follow-up commits.

Related

🤖 Generated with Claude Code

@ggreif ggreif self-assigned this Apr 22, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 22, 2026

Comparing from bc32e40 to 35f58d0:
The produced WebAssembly code seems to be completely unchanged.
In terms of gas, no changes are observed in 5 tests.
In terms of size, no changes are observed in 5 tests.

@ggreif ggreif changed the title Syncing of wasm-exts to provide new instructions (e.g. SIMD!) chore: syncing of wasm-exts to provide new instructions (e.g. SIMD!) Apr 22, 2026
ggreif added a commit that referenced this pull request Apr 22, 2026
Moved to PR #6043 (wasm-exts sync), which will be the natural home for
constant-tracking reasoning as new instructions come in. No content
loss — the file is reproduced verbatim on gabor/wasm-exts-sync.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Moves the plan file here from PR #5961's branch where it sat as a
leftover companion doc. Outlines the forthcoming `wasm-exts` sync
work — pulling upstream instruction support forward so codegen can
emit SIMD, newer ref-types, etc. This PR is the natural home.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ggreif ggreif force-pushed the gabor/wasm-exts-sync branch from c3b35dc to 35f58d0 Compare April 22, 2026 11:17
ggreif added a commit that referenced this pull request Apr 22, 2026
Moved to PR #6043 (wasm-exts sync), which is the natural home for the
upcoming instruction-catchup work. No content loss — file is
reproduced verbatim on gabor/wasm-exts-sync.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant