From a31a749c42505e53308c0f2426db283ea130e776 Mon Sep 17 00:00:00 2001 From: Veikka Tuominen Date: Wed, 19 Jan 2022 12:26:30 +0200 Subject: stage1: add f80 type --- src/type.zig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/type.zig') diff --git a/src/type.zig b/src/type.zig index 0020ccd7cc..23a741eed0 100644 --- a/src/type.zig +++ b/src/type.zig @@ -58,6 +58,7 @@ pub const Type = extern union { .f16, .f32, .f64, + .f80, .f128, .c_longdouble, => return .Float, @@ -833,6 +834,7 @@ pub const Type = extern union { .f16, .f32, .f64, + .f80, .f128, .bool, .void, @@ -1053,6 +1055,7 @@ pub const Type = extern union { .f16, .f32, .f64, + .f80, .f128, .bool, .void, @@ -1371,6 +1374,7 @@ pub const Type = extern union { .f16, .f32, .f64, + .f80, .f128, .bool, .void, @@ -1473,6 +1477,7 @@ pub const Type = extern union { .f16 => return Value.initTag(.f16_type), .f32 => return Value.initTag(.f32_type), .f64 => return Value.initTag(.f64_type), + .f80 => return Value.initTag(.f80_type), .f128 => return Value.initTag(.f128_type), .bool => return Value.initTag(.bool_type), .void => return Value.initTag(.void_type), @@ -1543,6 +1548,7 @@ pub const Type = extern union { .f16, .f32, .f64, + .f80, .f128, .bool, .anyerror, @@ -1858,6 +1864,7 @@ pub const Type = extern union { .f16 => return 2, .f32 => return 4, .f64 => return 8, + .f80 => return 16, .f128 => return 16, .c_longdouble => return 16, @@ -2138,6 +2145,7 @@ pub const Type = extern union { .f16 => return 2, .f32 => return 4, .f64 => return 8, + .f80 => return 16, .f128 => return 16, .c_longdouble => return 16, @@ -2277,6 +2285,7 @@ pub const Type = extern union { .i16, .u16, .f16 => 16, .i32, .u32, .f32 => 32, .i64, .u64, .f64 => 64, + .f80 => 80, .u128, .i128, .f128 => 128, .isize, @@ -3170,6 +3179,7 @@ pub const Type = extern union { .f16, .f32, .f64, + .f80, .f128, .c_longdouble, => true, @@ -3184,6 +3194,7 @@ pub const Type = extern union { .f16, .f32, .f64, + .f80, .f128, .c_longdouble, .comptime_float, @@ -3200,6 +3211,7 @@ pub const Type = extern union { .f16 => 16, .f32 => 32, .f64 => 64, + .f80 => 80, .f128, .comptime_float => 128, .c_longdouble => CType.longdouble.sizeInBits(target), @@ -3340,6 +3352,7 @@ pub const Type = extern union { .f16, .f32, .f64, + .f80, .f128, .c_longdouble, .comptime_int, @@ -3381,6 +3394,7 @@ pub const Type = extern union { .f16, .f32, .f64, + .f80, .f128, .c_longdouble, .comptime_int, @@ -3579,6 +3593,7 @@ pub const Type = extern union { .f16, .f32, .f64, + .f80, .f128, .anyopaque, .bool, @@ -4334,6 +4349,7 @@ pub const Type = extern union { f16, f32, f64, + f80, f128, anyopaque, bool, @@ -4453,6 +4469,7 @@ pub const Type = extern union { .f16, .f32, .f64, + .f80, .f128, .anyopaque, .bool, -- cgit v1.2.3