alexcrichton opened PR #5353 from inline-probe-aarch64
to main
:
This PR implements necessary support for inline stack probes in the AArch64 backend and then enables the support in Wasmtime. This builds on https://github.com/bytecodealliance/wasmtime/pull/5350 to ensure that on these hosts an accidentally misconfigured
Config
will still guarantee that wasm itself will run into the guard page for the stack rather than skipping over it.The commits here have been split out with various refactorings for inline stack probes, including a minor optimization for amodes in the aarch64 backend. I'd appreciate some close review on the aarch64 bits since I'm mostly just going with what works first and I don't necessarily fully understand the implications of the changes.
bjorn3 submitted PR review.
bjorn3 created PR review comment:
*instruction
alexcrichton updated PR #5353 from inline-probe-aarch64
to main
.
cfallin submitted PR review.
cfallin submitted PR review.
cfallin created PR review comment:
Can we keep the closing parens all together (Lisp-style)?
cfallin created PR review comment:
s/a/an/
Also can we note here that it's careful not to use spilltmp or tmp2, so these registers are allowed to be inputs?
cfallin created PR review comment:
Note here that this code is being generated post-regalloc, so the temps are allowable to use?
cfallin created PR review comment:
Can we add a note here that we must be careful not to use addressing modes that use spilltmp or tmp2, and this is currently satisfied by using the reg-reg addressing mode (i.e., no large offsets, which we sometimes synthesize into a tmp)?
cfallin created PR review comment:
s/lik/like/
alexcrichton updated PR #5353 from inline-probe-aarch64
to main
.
alexcrichton updated PR #5353 from inline-probe-aarch64
to main
.
alexcrichton updated PR #5353 from inline-probe-aarch64
to main
.
cfallin submitted PR review.
alexcrichton merged PR #5353.
Last updated: Dec 23 2024 at 12:05 UTC