Skip to content

winch(x64): Prefer operands in the value stack for atomic operations - #14074

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
saulecabrera:winch-value-stack-atomic
Aug 3, 2026
Merged

winch(x64): Prefer operands in the value stack for atomic operations#14074
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
saulecabrera:winch-value-stack-atomic

Conversation

@saulecabrera

Copy link
Copy Markdown
Member

This patch fixes #13989

It passes the arguments of the atomic operations through the value stack instead of calculating and holding the address register prior to handing over control to the MacroAssembler. This approach ensures that spills can happen naturally when specific registers are needed when lowering these operations.

This patch fixes bytecodealliance#13989

It passes the arguments of the atomic operations through the value stack
instead of calculating and holding the address register prior to
handing over control to the MacroAssembler. This approach ensures that
spills can happen naturally when specific registers are needed when lowering
these operations.
@saulecabrera
saulecabrera requested review from a team as code owners August 3, 2026 20:59
@saulecabrera
saulecabrera requested review from alexcrichton and removed request for a team August 3, 2026 20:59
@alexcrichton
alexcrichton enabled auto-merge August 3, 2026 21:08
@alexcrichton
alexcrichton added this pull request to the merge queue Aug 3, 2026
Merged via the queue into bytecodealliance:main with commit 45af25f Aug 3, 2026
53 checks passed
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.

Winch fails to compile atomic.rmw.or on x86_64

2 participants