| ... | @@ -2919,7 +2919,10 @@ pub const Type = extern union { | ... | @@ -2919,7 +2919,10 @@ pub const Type = extern union { |
| 2919 | return AbiAlignmentAdvanced{ .scalar = abiAlignment(u80_ty, target) }; | 2919 | return AbiAlignmentAdvanced{ .scalar = abiAlignment(u80_ty, target) }; |
| 2920 | }, | 2920 | }, |
| 2921 | }, | 2921 | }, |
| 2922 | .f128 => return AbiAlignmentAdvanced{ .scalar = 16 }, | 2922 | .f128 => switch (CType.longdouble.sizeInBits(target)) { |
| | 2923 | 128 => return AbiAlignmentAdvanced{ .scalar = CType.longdouble.alignment(target) }, |
| | 2924 | else => return AbiAlignmentAdvanced{ .scalar = 16 }, |
| | 2925 | }, |
| 2923 | | 2926 | |
| 2924 | // TODO revisit this when we have the concept of the error tag type | 2927 | // TODO revisit this when we have the concept of the error tag type |
| 2925 | .anyerror_void_error_union, | 2928 | .anyerror_void_error_union, |