Skip to content

Conversation

@chenx97
Copy link
Contributor

@chenx97 chenx97 commented Oct 30, 2025

Similar to mips, mips64 also adds a padding register when an aggregate argument is not passed with an aligned offset, for any byte alignment a where 8 < a <= 16 bytes.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 30, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 30, 2025

r? @petrochenkov

rustbot has assigned @petrochenkov.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@chenx97 chenx97 marked this pull request as draft October 31, 2025 11:47
@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 31, 2025
@chenx97

This comment was marked as resolved.

Similar to mips, mips64 also adds a padding register when an aggregate
argument is not passed with an aligned offset, for any byte alignment `a`
where `8 < a <= 16` bytes.

This fix uses an i32 padding, but it should work just fine because i32 is
aligned like i64 for arguments.
@chenx97 chenx97 force-pushed the mips64-padding-aggregate-args branch from fa68eff to 2b8161f Compare November 2, 2025 16:34
@chenx97 chenx97 marked this pull request as ready for review November 2, 2025 16:35
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Nov 2, 2025
@chenx97
Copy link
Contributor Author

chenx97 commented Nov 4, 2025

r? @workingjubilee

@rustbot
Copy link
Collaborator

rustbot commented Nov 4, 2025

workingjubilee is currently at their maximum review capacity.
They may take a while to respond.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants