| ... | @@ -2236,6 +2236,15 @@ pub const Target = struct { | ... | @@ -2236,6 +2236,15 @@ pub const Target = struct { |
| 2236 | .longdouble => return 128, | 2236 | .longdouble => return 128, |
| 2237 | }, | 2237 | }, |
| 2238 | | 2238 | |
| | 2239 | .ps4, .ps5 => switch (c_type) { |
| | 2240 | .char => return 8, |
| | 2241 | .short, .ushort => return 16, |
| | 2242 | .int, .uint, .float => return 32, |
| | 2243 | .long, .ulong => return 64, |
| | 2244 | .longlong, .ulonglong, .double => return 64, |
| | 2245 | .longdouble => return 80, |
| | 2246 | }, |
| | 2247 | |
| 2239 | .cloudabi, | 2248 | .cloudabi, |
| 2240 | .kfreebsd, | 2249 | .kfreebsd, |
| 2241 | .lv2, | 2250 | .lv2, |
| ... | @@ -2243,8 +2252,6 @@ pub const Target = struct { | ... | @@ -2243,8 +2252,6 @@ pub const Target = struct { |
| 2243 | .rtems, | 2252 | .rtems, |
| 2244 | .nacl, | 2253 | .nacl, |
| 2245 | .aix, | 2254 | .aix, |
| 2246 | .ps4, | | |
| 2247 | .ps5, | | |
| 2248 | .elfiamcu, | 2255 | .elfiamcu, |
| 2249 | .mesa3d, | 2256 | .mesa3d, |
| 2250 | .contiki, | 2257 | .contiki, |