Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winch(x64): Derive the operand size for masm.zero #9292

Conversation

saulecabrera
Copy link
Member

This commit derives the operand size from ABI::word_bytes() in order to zero the given register rather than hardcoding it as a 32-bit size operand.

The motivation for this commit is mainly avoiding hardcoding operand sizes in Winch's emission layer where possible, especially in the MacroAssembler.

This commit derives the operand size from `ABI::word_bytes()` in order
to zero the given register rather than hardcoding it as a 32-bit size
operand.

The motivation for this commit is mainly avoiding hardcoding operand
sizes in Winch's emission layer where possible, especially in the
MacroAssembler.
@saulecabrera saulecabrera requested review from a team as code owners September 20, 2024 21:13
@saulecabrera saulecabrera requested review from cfallin and fitzgen and removed request for a team September 20, 2024 21:13
@fitzgen fitzgen added this pull request to the merge queue Sep 20, 2024
Merged via the queue into bytecodealliance:main with commit bd29809 Sep 20, 2024
39 checks passed
@saulecabrera saulecabrera deleted the winch-x64-derive-operand-size-for-0 branch September 21, 2024 21:26
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