bytecodealliance / bytecodealliance/wasmtime

Cranelift: Incorrect abi for i128, i128 return value on x86_64 sysv

Open
#9,250 4 comments 0 reactions 0 assignees View on GitHub
bug cranelift
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 18h
Merged PRs (30d)
126

Description

### Expected Results

All return values are returned using a single return pointer.

### Actual Results

Return values are put into registers where possible and on the stack for the rest.

### Versions and Environment

Cranelift version or commit: 0.111

Operating system: Linux

Architecture: x86_64

### Extra Info

This is one of the causes for https://github.com/rust-lang/rustc_codegen_cranelift/issues/1525. The same issue may exist on aarch64 and other archs too, but haven't checked yet.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.