Skip to content

Support wasm32 hosts in VEX basic types - #82

Merged
twizmwazin merged 1 commit into
masterfrom
wasm-host-support
Jul 22, 2026
Merged

Support wasm32 hosts in VEX basic types#82
twizmwazin merged 1 commit into
masterfrom
wasm-host-support

Conversation

@zardus

@zardus zardus commented Jul 21, 2026

Copy link
Copy Markdown
Member

Summary

  • recognize wasm32 as a 32-bit VEX host
  • disable the native register-parameter attribute on WebAssembly
  • provide the host definitions needed when VEX is compiled into PyVEX under Emscripten

Validation

Consumed successfully by the PyVEX Pyodide build. The resulting runtime lifted AMD64 and ARM instructions and preserved a 64-bit guest data reference on the wasm32 host.

@twizmwazin
twizmwazin merged commit 875f7c9 into master Jul 22, 2026
6 checks passed
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.

2 participants