alexcrichton opened PR #9806 from alexcrichton:pulley-more-gpr
to bytecodealliance:main
:
This commit moves the
fp
andlr
registers out of theXReg
register set and into theMachineState
per-VM. These are automatically modified and read withpush_frame
andpop_frame
. Dedicatedxmov_{fp,lr}
instructions were added for use in Wasmtime's trampolines which directly read these registers.cc #9747
alexcrichton requested abrown for a review on PR #9806.
alexcrichton requested wasmtime-compiler-reviewers for a review on PR #9806.
alexcrichton requested dicej for a review on PR #9806.
alexcrichton requested wasmtime-core-reviewers for a review on PR #9806.
alexcrichton requested wasmtime-default-reviewers for a review on PR #9806.
alexcrichton commented on PR #9806:
I'd like to get there with
sp
as well too but that'll require more special care since it's used in memory-related instructions as a base for stack loads/stores.
alexcrichton updated PR #9806.
github-actions[bot] commented on PR #9806:
Subscribe to Label Action
cc @cfallin, @fitzgen
<details>
This issue or pull request has been labeled: "cranelift", "isle", "pulley", "wasmtime:api"Thus the following users have been cc'd because of the following labels:
- cfallin: isle
- fitzgen: isle, pulley
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
alexcrichton updated PR #9806.
fitzgen submitted PR review:
Nice!
fitzgen created PR review comment:
Do we actually use spilltmp2 in pulley? AFAICT, we don't. Could free up one more GPR I think.
fitzgen edited PR review comment.
alexcrichton updated PR #9806.
alexcrichton has enabled auto merge for PR #9806.
alexcrichton merged PR #9806.
Last updated: Dec 23 2024 at 12:05 UTC