| ... | ... | @@ -137,7 +137,7 @@ pub fn classifySystemV(ty: Type, mod: *Module, ctx: Context) [8]Class { |
| 137 | 137 | return result; |
| 138 | 138 | }, |
| 139 | 139 | 128 => { |
| 140 | | // "Arguments of types__float128, _Decimal128 and__m128 are |
| 140 | // "Arguments of types __float128, _Decimal128 and __m128 are |
| 141 | 141 | // split into two halves. The least significant ones belong |
| 142 | 142 | // to class SSE, the most significant one to class SSEUP." |
| 143 | 143 | if (ctx == .other) { |
| ... | ... | @@ -213,9 +213,9 @@ pub fn classifySystemV(ty: Type, mod: *Module, ctx: Context) [8]Class { |
| 213 | 213 | const struct_type = mod.typeToStruct(ty).?; |
| 214 | 214 | const ty_size = ty.abiSize(mod); |
| 215 | 215 | if (struct_type.layout == .Packed) { |
| 216 | | assert(ty_size <= 128); |
| 216 | assert(ty_size <= 16); |
| 217 | 217 | result[0] = .integer; |
| 218 | | if (ty_size > 64) result[1] = .integer; |
| 218 | if (ty_size > 8) result[1] = .integer; |
| 219 | 219 | return result; |
| 220 | 220 | } |
| 221 | 221 | if (ty_size > 64) |
| ... | ... | @@ -331,9 +331,9 @@ pub fn classifySystemV(ty: Type, mod: *Module, ctx: Context) [8]Class { |
| 331 | 331 | const union_obj = mod.typeToUnion(ty).?; |
| 332 | 332 | const ty_size = mod.unionAbiSize(union_obj); |
| 333 | 333 | if (union_obj.getLayout(ip) == .Packed) { |
| 334 | | assert(ty_size <= 128); |
| 334 | assert(ty_size <= 16); |
| 335 | 335 | result[0] = .integer; |
| 336 | | if (ty_size > 64) result[1] = .integer; |
| 336 | if (ty_size > 8) result[1] = .integer; |
| 337 | 337 | return result; |
| 338 | 338 | } |
| 339 | 339 | if (ty_size > 64) |
| ... | ... | @@ -422,11 +422,11 @@ pub fn classifySystemV(ty: Type, mod: *Module, ctx: Context) [8]Class { |
| 422 | 422 | }, |
| 423 | 423 | .Array => { |
| 424 | 424 | const ty_size = ty.abiSize(mod); |
| 425 | | if (ty_size <= 64) { |
| 425 | if (ty_size <= 8) { |
| 426 | 426 | result[0] = .integer; |
| 427 | 427 | return result; |
| 428 | 428 | } |
| 429 | | if (ty_size <= 128) { |
| 429 | if (ty_size <= 16) { |
| 430 | 430 | result[0] = .integer; |
| 431 | 431 | result[1] = .integer; |
| 432 | 432 | return result; |