fix sparc64 ABI for aggregates with floating point members
This commit is contained in:
parent
6414e0b5b3
commit
128ceec92d
8 changed files with 272 additions and 58 deletions
|
@ -71,7 +71,7 @@ fn cast_target_to_abi_params(cast: CastTarget) -> SmallVec<[AbiParam; 2]> {
|
|||
.prefix
|
||||
.iter()
|
||||
.flatten()
|
||||
.map(|&kind| reg_to_abi_param(Reg { kind, size: cast.prefix_chunk_size }))
|
||||
.map(|®| reg_to_abi_param(reg))
|
||||
.chain((0..rest_count).map(|_| reg_to_abi_param(cast.rest.unit)))
|
||||
.collect::<SmallVec<_>>();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue