mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
Revert "std.Target: Fix C long double size for opencl (8, not 16)."
This reverts commit a1d3e567635e79e0fbd8d56225d5098bc6cb8bbb.
This commit is contained in:
parent
1e1cd1f02c
commit
93e983489b
@ -2303,7 +2303,9 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {
|
||||
.short, .ushort => return 16,
|
||||
.int, .uint, .float => return 32,
|
||||
.long, .ulong, .longlong, .ulonglong, .double => return 64,
|
||||
.longdouble => return 64,
|
||||
// Note: The OpenCL specification does not guarantee a particular size for long double,
|
||||
// but clang uses 128 bits.
|
||||
.longdouble => return 128,
|
||||
},
|
||||
|
||||
.ps4, .ps5 => switch (c_type) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user