alexcrichton opened PR #7084 from alexcrichton:opt-wasm-calls
to bytecodealliance:main
:
This commit is a tiny optimization for host-to-wasm calls by inlining a few functions. One was a wasmtime-runtime function that's pretty simple and the other is the usage of the
psm
crate. Long agopsm
was added to learn the current stack pointer and its routines are written in assembly, meaning that the calls can't be inlined. Nowadays with inline assembly it's possible to skip the external assembler entirely.
alexcrichton requested fitzgen for a review on PR #7084.
alexcrichton requested wasmtime-core-reviewers for a review on PR #7084.
alexcrichton updated PR #7084.
alexcrichton updated PR #7084.
fitzgen submitted PR review:
Nice! Do you happen to have microbenchmark deltas? No need to go out of your way to gather them if not.
alexcrichton updated PR #7084.
alexcrichton has enabled auto merge for PR #7084.
alexcrichton merged PR #7084.
Last updated: Dec 23 2024 at 13:07 UTC