Skip to content

winch: Improve result handling for Aarch64#9171

Merged
fitzgen merged 2 commits intobytecodealliance:mainfrom
saulecabrera:improve-aarch64-abi
Aug 27, 2024
Merged

winch: Improve result handling for Aarch64#9171
fitzgen merged 2 commits intobytecodealliance:mainfrom
saulecabrera:improve-aarch64-abi

Conversation

@saulecabrera
Copy link
Copy Markdown
Member

This commit introduces missing tests for Aarch64's ABI implementation. Compared to the x64 counterpart, the aarch64 implementation was missing tests for multi-value.

Additionally, this commit fixes an issue with how multi-value returns are handlded in Winch's default calling convention, which only allows 1 register result, independent of the register class.

This commit also refactors the register indexing environment so that it can be easily shared across the existing backends.

This commit introduces missing tests for Aarch64's ABI implementation.
Compared to the x64 counterpart, the aarch64 implementation was missing
tests for multi-value.

Additionally, this commit fixes an issue with how multi-value returns
are handlded in Winch's default calling convention, which only allows
1 register result, independent of the register class.

This commit also refactors the register indexing environment so that it
can be easily shared across the existing backends.
@saulecabrera saulecabrera requested a review from a team as a code owner August 27, 2024 14:19
@saulecabrera saulecabrera requested review from fitzgen and removed request for a team August 27, 2024 14:19
Copy link
Copy Markdown
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@fitzgen fitzgen added this pull request to the merge queue Aug 27, 2024
Merged via the queue into bytecodealliance:main with commit 721600c Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants