This PR fixes how results are returned when using Winch. Cranelift uses x0-x7 and v0-v7 to store the first results, and then stores the remaining ones in the stack from sp to fp. Winch stores the last result in either x0 or v0, with the other results placed on the stack from fp to sp.
Thank you @saulecabrera for helping me figure this out ☺️
This issue or pull request has been labeled: "cranelift", "cranelift:area:aarch64", "winch"
Thus the following users have been cc'd because of the following labels:
* saulecabrera: winch
To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.
[Learn more.](https://github.com/bytecodealliance/subscribe-to-label-action)
Hey 👋
This PR fixes how results are returned when using Winch. Cranelift uses x0-x7 and v0-v7 to store the first results, and then stores the remaining ones in the stack from sp to fp. Winch stores the last result in either x0 or v0, with the other results placed on the stack from fp to sp.
Thank you @saulecabrera for helping me figure this out ☺️