Skip to content

Multi value wasm, how does it works? #21792

Closed Answered by sbc100
msqr1 asked this question in Q&A
Apr 20, 2024 · 2 comments · 16 replies
Discussion options

You must be logged in to vote

Basically yes, although exactly how and when it makes sense to do this kind of thing is up in the air still. This is really question for upstream llvm which does the code generation. There is an experiment-mv ABI there that is not currently well supported but you can play with it you like. On the emscripten side will likely not make any changes to the ABI aside from following whatever upstream llvm does.

Separately to the C ABI there is talk of enabling multi-value as a feature so we can use it internally for things (e.g. using assembly perhaps).

For recent work on this see: llvm/llvm-project#88492
And WebAssembly/tool-conventions#223
And llvm/llvm-project#82714

Replies: 2 comments 16 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by msqr1
Comment options

You must be logged in to vote
16 replies
@sbc100
Comment options

@msqr1
Comment options

@sbc100
Comment options

@msqr1
Comment options

@sbc100
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants