diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-11-21 11:58:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-21 11:58:38 +0100 |
| commit | 379b22123c1643eb4b48b852240d1dbf96ec6a46 (patch) | |
| tree | 58af6e0b9595b89c9bbc009c014c903b147845a1 /compiler/rustc_codegen_llvm/src/asm.rs | |
| parent | 395649558a99eb5bc5d76b556dca12fc1f336346 (diff) | |
| parent | 7652e349b091531ceb91eae8de23fb86ac7c0b09 (diff) | |
| download | rust-379b22123c1643eb4b48b852240d1dbf96ec6a46.tar.gz rust-379b22123c1643eb4b48b852240d1dbf96ec6a46.zip | |
Rollup merge of #131586 - taiki-e:s390x-vector-abi, r=compiler-errors,uweigand
Support s390x z13 vector ABI cc #130869 This resolves the following fixmes: - https://github.com/rust-lang/rust/blob/58420a065b68ecb3eec03b942740c761cdadd5c4/compiler/rustc_target/src/abi/call/s390x.rs#L1-L2 - https://github.com/rust-lang/rust/blob/58420a065b68ecb3eec03b942740c761cdadd5c4/compiler/rustc_target/src/spec/targets/s390x_unknown_linux_gnu.rs#L9-L11 Refs: Section 1.2.3 "Parameter Passing" and section 1.2.5 "Return Values" in ELF Application Binary Interface s390x Supplement, Version 1.6.1 (lzsabi_s390x.pdf in https://github.com/IBM/s390x-abi/releases/tag/v1.6.1) This PR extends ~~https://github.com/rust-lang/rust/pull/127731~~ https://github.com/rust-lang/rust/pull/132173 (merged) 's ABI check to handle cases where `vector` target feature is disabled. If we do not do ABI check, we run into the ABI problems as described in https://github.com/rust-lang/rust/issues/116558 and https://github.com/rust-lang/rust/issues/130869#issuecomment-2408268044, and the problem of the compiler generating strange code (https://github.com/rust-lang/rust/pull/131586#discussion_r1799003554). cc `@uweigand` `@rustbot` label +O-SystemZ +A-ABI
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
0 files changed, 0 insertions, 0 deletions
