diff options
| author | bors <bors@rust-lang.org> | 2025-01-28 06:11:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-01-28 06:11:13 +0000 |
| commit | 66d6064f9eb888018775e08f84747ee6f39ba28e (patch) | |
| tree | 5ac74be7cae51c6db7524a9d18c6e10ecdb031d0 /compiler/rustc_codegen_llvm/src/asm.rs | |
| parent | 2f348cb7ce4063fa4eb40038e6ada3c5214717bd (diff) | |
| parent | a44a20ee4ab8fe41ccba2ea3f970f7ee81c61c04 (diff) | |
| download | rust-66d6064f9eb888018775e08f84747ee6f39ba28e.tar.gz rust-66d6064f9eb888018775e08f84747ee6f39ba28e.zip | |
Auto merge of #134290 - tgross35:windows-i128-callconv, r=bjorn3,wesleywiser
Windows x86: Change i128 to return via the vector ABI Clang and GCC both return `i128` in xmm0 on windows-msvc and windows-gnu. Currently, Rust returns the type on the stack. Add a calling convention adjustment so we also return scalar `i128`s using the vector ABI, which makes our `i128` compatible with C. In the future, Clang may change to return `i128` on the stack for its `-msvc` targets (more at [1]). If this happens, the change here will need to be adjusted to only affect MinGW. Link: https://github.com/rust-lang/rust/issues/134288 (does not fix) [1] try-job: x86_64-msvc try-job: x86_64-msvc-ext1 try-job: x86_64-mingw-1 try-job: x86_64-mingw-2
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
0 files changed, 0 insertions, 0 deletions
