Skip to content

[17.0.0] Backport fix x64 option i128 abi#7771

Merged
alexcrichton merged 1 commit into
bytecodealliance:release-17.0.0from
bjorn3:backport_fix_x64_option_i128_abi
Jan 11, 2024
Merged

[17.0.0] Backport fix x64 option i128 abi#7771
alexcrichton merged 1 commit into
bytecodealliance:release-17.0.0from
bjorn3:backport_fix_x64_option_i128_abi

Conversation

@bjorn3
Copy link
Copy Markdown
Contributor

@bjorn3 bjorn3 commented Jan 11, 2024

LLVM passes the tag in rax and the u128 val in rdx/rcx. Before this change Cranelift would pass the first half of the value in rdx and the second half using an implicit return value pointer.

Backport of #7770 to 17.0.0

LLVM passes the tag in rax and the u128 val in rdx/rcx. Before this
change Cranelift would pass the first half of the value in rdx and the
second half using an implicit return value pointer.
@bjorn3 bjorn3 requested a review from a team as a code owner January 11, 2024 21:29
@bjorn3 bjorn3 requested review from fitzgen and removed request for a team January 11, 2024 21:29
@bjorn3
Copy link
Copy Markdown
Contributor Author

bjorn3 commented Jan 11, 2024

This only affects programs that use enable_llvm_abi_extensions, which is not Wasmtime. As such I think this ok to backport.

@alexcrichton alexcrichton merged commit 0b63202 into bytecodealliance:release-17.0.0 Jan 11, 2024
@bjorn3 bjorn3 deleted the backport_fix_x64_option_i128_abi branch January 11, 2024 22:58
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