authorgravatar for jacobly@ziglang.orgJacob Young <jacobly@ziglang.org> 2026-06-29 09:48:37-04:00
committergravatar for jacobly@ziglang.orgJacob Young <jacobly@ziglang.org> 2026-07-27 14:35:12-04:00
log3e26b9e957887e55e99046e908bc07200140d3f8
tree07308a4e06e30992dffa6429b5f726038a25e009
parenta242b0be888fbcffd4eaa2e3af9cb30bc3c71584

codegen: change libc f128 suffix to match llvm


27 files changed, 226 insertions(+), 277 deletions(-)

lib/compiler_rt/cos.zig+1-2
...@@ -24,8 +24,7 @@ comptime {...@@ -24,8 +24,7 @@ comptime {
24 symbol(&cosf, "cosf");24 symbol(&cosf, "cosf");
25 symbol(&cos, "cos");25 symbol(&cos, "cos");
26 symbol(&__cosx, "__cosx");26 symbol(&__cosx, "__cosx");
27 if (compiler_rt.want_ppc_abi) symbol(&cosq, "cosf128");27 symbol(&cosq, "cosf128");
28 symbol(&cosq, "cosq");
29 symbol(&cosl, "cosl");28 symbol(&cosl, "cosl");
30 symbol(&cosl, "__cosl"); // required by musl29 symbol(&cosl, "__cosl"); // required by musl
31}30}
lib/compiler_rt/exp.zig+1-4
...@@ -21,10 +21,7 @@ comptime {...@@ -21,10 +21,7 @@ comptime {
21 symbol(&expf, "expf");21 symbol(&expf, "expf");
22 symbol(&exp, "exp");22 symbol(&exp, "exp");
23 symbol(&__expx, "__expx");23 symbol(&__expx, "__expx");
24 if (compiler_rt.want_ppc_abi) {24 symbol(&expq, "expf128");
25 symbol(&expq, "expf128");
26 }
27 symbol(&expq, "expq");
28 symbol(&expl, "expl");25 symbol(&expl, "expl");
29}26}
3027
lib/compiler_rt/exp2.zig+1-4
...@@ -19,10 +19,7 @@ comptime {...@@ -19,10 +19,7 @@ comptime {
19 symbol(&exp2f, "exp2f");19 symbol(&exp2f, "exp2f");
20 symbol(&exp2, "exp2");20 symbol(&exp2, "exp2");
21 symbol(&__exp2x, "__exp2x");21 symbol(&__exp2x, "__exp2x");
22 if (compiler_rt.want_ppc_abi) {22 symbol(&exp2q, "exp2f128");
23 symbol(&exp2q, "exp2f128");
24 }
25 symbol(&exp2q, "exp2q");
26 symbol(&exp2l, "exp2l");23 symbol(&exp2l, "exp2l");
27}24}
2825
lib/compiler_rt/fabs.zig+1-4
...@@ -9,10 +9,7 @@ comptime {...@@ -9,10 +9,7 @@ comptime {
9 symbol(&fabsf, "fabsf");9 symbol(&fabsf, "fabsf");
10 symbol(&fabs, "fabs");10 symbol(&fabs, "fabs");
11 symbol(&__fabsx, "__fabsx");11 symbol(&__fabsx, "__fabsx");
12 if (compiler_rt.want_ppc_abi) {12 symbol(&fabsq, "fabsf128");
13 symbol(&fabsq, "fabsf128");
14 }
15 symbol(&fabsq, "fabsq");
16 symbol(&fabsl, "fabsl");13 symbol(&fabsl, "fabsl");
17}14}
1815
lib/compiler_rt/floor_ceil.zig+2-8
...@@ -23,10 +23,7 @@ comptime {...@@ -23,10 +23,7 @@ comptime {
23 symbol(&floorf, "floorf");23 symbol(&floorf, "floorf");
24 symbol(&floor, "floor");24 symbol(&floor, "floor");
25 symbol(&__floorx, "__floorx");25 symbol(&__floorx, "__floorx");
26 if (compiler_rt.want_ppc_abi) {26 symbol(&floorq, "floorf128");
27 symbol(&floorq, "floorf128");
28 }
29 symbol(&floorq, "floorq");
30 symbol(&floorl, "floorl");27 symbol(&floorl, "floorl");
3128
32 // ceil29 // ceil
...@@ -34,10 +31,7 @@ comptime {...@@ -34,10 +31,7 @@ comptime {
34 symbol(&ceilf, "ceilf");31 symbol(&ceilf, "ceilf");
35 symbol(&ceil, "ceil");32 symbol(&ceil, "ceil");
36 symbol(&__ceilx, "__ceilx");33 symbol(&__ceilx, "__ceilx");
37 if (compiler_rt.want_ppc_abi) {34 symbol(&ceilq, "ceilf128");
38 symbol(&ceilq, "ceilf128");
39 }
40 symbol(&ceilq, "ceilq");
41 symbol(&ceill, "ceill");35 symbol(&ceill, "ceill");
42}36}
4337
lib/compiler_rt/fma.zig+1-4
...@@ -16,10 +16,7 @@ comptime {...@@ -16,10 +16,7 @@ comptime {
16 symbol(&fmaf, "fmaf");16 symbol(&fmaf, "fmaf");
17 symbol(&fma, "fma");17 symbol(&fma, "fma");
18 symbol(&__fmax, "__fmax");18 symbol(&__fmax, "__fmax");
19 if (compiler_rt.want_ppc_abi) {19 symbol(&fmaq, "fmaf128");
20 symbol(&fmaq, "fmaf128");
21 }
22 symbol(&fmaq, "fmaq");
23 symbol(&fmal, "fmal");20 symbol(&fmal, "fmal");
24}21}
2522
lib/compiler_rt/fmax.zig+1-4
...@@ -10,10 +10,7 @@ comptime {...@@ -10,10 +10,7 @@ comptime {
10 symbol(&fmaxf, "fmaxf");10 symbol(&fmaxf, "fmaxf");
11 symbol(&fmax, "fmax");11 symbol(&fmax, "fmax");
12 symbol(&__fmaxx, "__fmaxx");12 symbol(&__fmaxx, "__fmaxx");
13 if (compiler_rt.want_ppc_abi) {13 symbol(&fmaxq, "fmaxf128");
14 symbol(&fmaxq, "fmaxf128");
15 }
16 symbol(&fmaxq, "fmaxq");
17 symbol(&fmaxl, "fmaxl");14 symbol(&fmaxl, "fmaxl");
18}15}
1916
lib/compiler_rt/fmin.zig+1-4
...@@ -10,10 +10,7 @@ comptime {...@@ -10,10 +10,7 @@ comptime {
10 symbol(&fminf, "fminf");10 symbol(&fminf, "fminf");
11 symbol(&fmin, "fmin");11 symbol(&fmin, "fmin");
12 symbol(&__fminx, "__fminx");12 symbol(&__fminx, "__fminx");
13 if (compiler_rt.want_ppc_abi) {13 symbol(&fminq, "fminf128");
14 symbol(&fminq, "fminf128");
15 }
16 symbol(&fminq, "fminq");
17 symbol(&fminl, "fminl");14 symbol(&fminl, "fminl");
18}15}
1916
lib/compiler_rt/fmod.zig+1-4
...@@ -12,10 +12,7 @@ comptime {...@@ -12,10 +12,7 @@ comptime {
12 symbol(&fmodf, "fmodf");12 symbol(&fmodf, "fmodf");
13 symbol(&fmod, "fmod");13 symbol(&fmod, "fmod");
14 symbol(&__fmodx, "__fmodx");14 symbol(&__fmodx, "__fmodx");
15 if (compiler_rt.want_ppc_abi) {15 symbol(&fmodq, "fmodf128");
16 symbol(&fmodq, "fmodf128");
17 }
18 symbol(&fmodq, "fmodq");
19 symbol(&fmodl, "fmodl");16 symbol(&fmodl, "fmodl");
20}17}
2118
lib/compiler_rt/log.zig+1-4
...@@ -18,10 +18,7 @@ comptime {...@@ -18,10 +18,7 @@ comptime {
18 symbol(&logf, "logf");18 symbol(&logf, "logf");
19 symbol(&log, "log");19 symbol(&log, "log");
20 symbol(&__logx, "__logx");20 symbol(&__logx, "__logx");
21 if (compiler_rt.want_ppc_abi) {21 symbol(&logq, "logf128");
22 symbol(&logq, "logf128");
23 }
24 symbol(&logq, "logq");
25 symbol(&logl, "logl");22 symbol(&logl, "logl");
26}23}
2724
lib/compiler_rt/log10.zig+1-4
...@@ -18,10 +18,7 @@ comptime {...@@ -18,10 +18,7 @@ comptime {
18 symbol(&log10f, "log10f");18 symbol(&log10f, "log10f");
19 symbol(&log10, "log10");19 symbol(&log10, "log10");
20 symbol(&__log10x, "__log10x");20 symbol(&__log10x, "__log10x");
21 if (compiler_rt.want_ppc_abi) {21 symbol(&log10q, "log10f128");
22 symbol(&log10q, "log10f128");
23 }
24 symbol(&log10q, "log10q");
25 symbol(&log10l, "log10l");22 symbol(&log10l, "log10l");
26}23}
2724
lib/compiler_rt/log2.zig+1-4
...@@ -19,10 +19,7 @@ comptime {...@@ -19,10 +19,7 @@ comptime {
19 symbol(&log2f, "log2f");19 symbol(&log2f, "log2f");
20 symbol(&log2, "log2");20 symbol(&log2, "log2");
21 symbol(&__log2x, "__log2x");21 symbol(&__log2x, "__log2x");
22 if (compiler_rt.want_ppc_abi) {22 symbol(&log2q, "log2f128");
23 symbol(&log2q, "log2f128");
24 }
25 symbol(&log2q, "log2q");
26 symbol(&log2l, "log2l");23 symbol(&log2l, "log2l");
27}24}
2825
lib/compiler_rt/round.zig+1-2
...@@ -18,8 +18,7 @@ comptime {...@@ -18,8 +18,7 @@ comptime {
18 symbol(&roundf, "roundf");18 symbol(&roundf, "roundf");
19 symbol(&round, "round");19 symbol(&round, "round");
20 symbol(&__roundx, "__roundx");20 symbol(&__roundx, "__roundx");
21 if (compiler_rt.want_ppc_abi) symbol(&roundq, "roundf128");21 symbol(&roundq, "roundf128");
22 symbol(&roundq, "roundq");
23 symbol(&roundl, "roundl");22 symbol(&roundl, "roundl");
24}23}
2524
lib/compiler_rt/sin.zig+1-4
...@@ -24,10 +24,7 @@ comptime {...@@ -24,10 +24,7 @@ comptime {
24 symbol(&sinf, "sinf");24 symbol(&sinf, "sinf");
25 symbol(&sin, "sin");25 symbol(&sin, "sin");
26 symbol(&__sinx, "__sinx");26 symbol(&__sinx, "__sinx");
27 if (compiler_rt.want_ppc_abi) {27 symbol(&sinq, "sinf128");
28 symbol(&sinq, "sinf128");
29 }
30 symbol(&sinq, "sinq");
31 symbol(&sinl, "sinl");28 symbol(&sinl, "sinl");
32 symbol(&sinl, "__sinl"); // required by musl29 symbol(&sinl, "__sinl"); // required by musl
33}30}
lib/compiler_rt/sincos.zig+1-4
...@@ -18,10 +18,7 @@ comptime {...@@ -18,10 +18,7 @@ comptime {
18 symbol(&sincosf, "sincosf");18 symbol(&sincosf, "sincosf");
19 symbol(&sincos, "sincos");19 symbol(&sincos, "sincos");
20 symbol(&sincosx, "__sincosx");20 symbol(&sincosx, "__sincosx");
21 if (compiler_rt.want_ppc_abi) {21 symbol(&sincosq, "sincosf128");
22 symbol(&sincosq, "sincosf128");
23 }
24 symbol(&sincosq, "sincosq");
25 symbol(&sincosl, "sincosl");22 symbol(&sincosl, "sincosl");
26}23}
2724
lib/compiler_rt/sqrt.zig+2-4
...@@ -17,14 +17,12 @@ comptime {...@@ -17,14 +17,12 @@ comptime {
17 symbol(&sqrtf, "sqrtf");17 symbol(&sqrtf, "sqrtf");
18 symbol(&sqrt, "sqrt");18 symbol(&sqrt, "sqrt");
19 symbol(&__sqrtx, "__sqrtx");19 symbol(&__sqrtx, "__sqrtx");
20 if (compiler_rt.want_ppc_abi) {20 symbol(&sqrtq, "sqrtf128");
21 symbol(&sqrtq, "sqrtf128");21 if (compiler_rt.want_sparc64_abi) {
22 } else if (compiler_rt.want_sparc64_abi) {
23 symbol(&_Qp_sqrt, "_Qp_sqrt");22 symbol(&_Qp_sqrt, "_Qp_sqrt");
24 } else if (compiler_rt.want_sparc32_abi) {23 } else if (compiler_rt.want_sparc32_abi) {
25 symbol(&sqrtq, "_Q_sqrt");24 symbol(&sqrtq, "_Q_sqrt");
26 }25 }
27 symbol(&sqrtq, "sqrtq");
28 symbol(&sqrtl, "sqrtl");26 symbol(&sqrtl, "sqrtl");
29}27}
3028
lib/compiler_rt/tan.zig+1-4
...@@ -28,10 +28,7 @@ comptime {...@@ -28,10 +28,7 @@ comptime {
28 symbol(&tanf, "tanf");28 symbol(&tanf, "tanf");
29 symbol(&tan, "tan");29 symbol(&tan, "tan");
30 symbol(&__tanx, "__tanx");30 symbol(&__tanx, "__tanx");
31 if (compiler_rt.want_ppc_abi) {31 symbol(&tanq, "tanf128");
32 symbol(&tanq, "tanf128");
33 }
34 symbol(&tanq, "tanq");
35 symbol(&tanl, "tanl");32 symbol(&tanl, "tanl");
36}33}
3734
lib/compiler_rt/trunc.zig+1-4
...@@ -17,10 +17,7 @@ comptime {...@@ -17,10 +17,7 @@ comptime {
17 symbol(&truncf, "truncf");17 symbol(&truncf, "truncf");
18 symbol(&trunc, "trunc");18 symbol(&trunc, "trunc");
19 symbol(&__truncx, "__truncx");19 symbol(&__truncx, "__truncx");
20 if (compiler_rt.want_ppc_abi) {20 symbol(&truncq, "truncf128");
21 symbol(&truncq, "truncf128");
22 }
23 symbol(&truncq, "truncq");
24 symbol(&truncl, "truncl");21 symbol(&truncl, "truncl");
25}22}
2623
lib/zig.h+1-1
...@@ -3835,7 +3835,7 @@ typedef zig_u128 zig_f80;...@@ -3835,7 +3835,7 @@ typedef zig_u128 zig_f80;
3835#endif3835#endif
38363836
3837#define zig_has_f128 13837#define zig_has_f128 1
3838#define zig_libc_name_f128(name) name##q3838#define zig_libc_name_f128(name) name##f128
3839#define zig_init_special_f128(sign, name, arg, repr) zig_make_special_f128(sign, name, arg, repr)3839#define zig_init_special_f128(sign, name, arg, repr) zig_make_special_f128(sign, name, arg, repr)
3840#if !zig_f128_has_miscompilations && FLT_MANT_DIG == 1133840#if !zig_f128_has_miscompilations && FLT_MANT_DIG == 113
3841typedef float zig_f128;3841typedef float zig_f128;
src/codegen/aarch64/Select.zig+19-19
...@@ -2099,7 +2099,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -2099,7 +2099,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
2099 32 => "truncf",2099 32 => "truncf",
2100 64 => "trunc",2100 64 => "trunc",
2101 80 => "__truncx",2101 80 => "__truncx",
2102 128 => "truncq",2102 128 => "truncf128",
2103 },2103 },
2104 .reloc = .{ .label = @intCast(isel.instructions.items.len) },2104 .reloc = .{ .label = @intCast(isel.instructions.items.len) },
2105 });2105 });
...@@ -2113,7 +2113,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -2113,7 +2113,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
2113 32 => "floorf",2113 32 => "floorf",
2114 64 => "floor",2114 64 => "floor",
2115 80 => "__floorx",2115 80 => "__floorx",
2116 128 => "floorq",2116 128 => "floorf128",
2117 },2117 },
2118 .reloc = .{ .label = @intCast(isel.instructions.items.len) },2118 .reloc = .{ .label = @intCast(isel.instructions.items.len) },
2119 });2119 });
...@@ -2431,7 +2431,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -2431,7 +2431,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
2431 32 => "fmodf",2431 32 => "fmodf",
2432 64 => "fmod",2432 64 => "fmod",
2433 80 => "__fmodx",2433 80 => "__fmodx",
2434 128 => "fmodq",2434 128 => "fmodf128",
2435 },2435 },
2436 .reloc = .{ .label = @intCast(isel.instructions.items.len) },2436 .reloc = .{ .label = @intCast(isel.instructions.items.len) },
2437 });2437 });
...@@ -2599,7 +2599,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -2599,7 +2599,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
2599 32 => "fmaxf",2599 32 => "fmaxf",
2600 64 => "fmax",2600 64 => "fmax",
2601 80 => "__fmaxx",2601 80 => "__fmaxx",
2602 128 => "fmaxq",2602 128 => "fmaxf128",
2603 },2603 },
2604 .min => switch (bits) {2604 .min => switch (bits) {
2605 else => unreachable,2605 else => unreachable,
...@@ -2607,7 +2607,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -2607,7 +2607,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
2607 32 => "fminf",2607 32 => "fminf",
2608 64 => "fmin",2608 64 => "fmin",
2609 80 => "__fminx",2609 80 => "__fminx",
2610 128 => "fminq",2610 128 => "fminf128",
2611 },2611 },
2612 },2612 },
2613 .reloc = .{ .label = @intCast(isel.instructions.items.len) },2613 .reloc = .{ .label = @intCast(isel.instructions.items.len) },
...@@ -4055,7 +4055,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -4055,7 +4055,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
4055 32 => "sqrtf",4055 32 => "sqrtf",
4056 64 => "sqrt",4056 64 => "sqrt",
4057 80 => "__sqrtx",4057 80 => "__sqrtx",
4058 128 => "sqrtq",4058 128 => "sqrtf128",
4059 },4059 },
4060 .floor => switch (bits) {4060 .floor => switch (bits) {
4061 else => unreachable,4061 else => unreachable,
...@@ -4063,7 +4063,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -4063,7 +4063,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
4063 32 => "floorf",4063 32 => "floorf",
4064 64 => "floor",4064 64 => "floor",
4065 80 => "__floorx",4065 80 => "__floorx",
4066 128 => "floorq",4066 128 => "floorf128",
4067 },4067 },
4068 .ceil => switch (bits) {4068 .ceil => switch (bits) {
4069 else => unreachable,4069 else => unreachable,
...@@ -4071,7 +4071,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -4071,7 +4071,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
4071 32 => "ceilf",4071 32 => "ceilf",
4072 64 => "ceil",4072 64 => "ceil",
4073 80 => "__ceilx",4073 80 => "__ceilx",
4074 128 => "ceilq",4074 128 => "ceilf128",
4075 },4075 },
4076 .round => switch (bits) {4076 .round => switch (bits) {
4077 else => unreachable,4077 else => unreachable,
...@@ -4079,7 +4079,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -4079,7 +4079,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
4079 32 => "roundf",4079 32 => "roundf",
4080 64 => "round",4080 64 => "round",
4081 80 => "__roundx",4081 80 => "__roundx",
4082 128 => "roundq",4082 128 => "roundf128",
4083 },4083 },
4084 .trunc_float => switch (bits) {4084 .trunc_float => switch (bits) {
4085 else => unreachable,4085 else => unreachable,
...@@ -4087,7 +4087,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -4087,7 +4087,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
4087 32 => "truncf",4087 32 => "truncf",
4088 64 => "trunc",4088 64 => "trunc",
4089 80 => "__truncx",4089 80 => "__truncx",
4090 128 => "truncq",4090 128 => "truncf128",
4091 },4091 },
4092 },4092 },
4093 .reloc = .{ .label = @intCast(isel.instructions.items.len) },4093 .reloc = .{ .label = @intCast(isel.instructions.items.len) },
...@@ -4147,7 +4147,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -4147,7 +4147,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
4147 32 => "sinf",4147 32 => "sinf",
4148 64 => "sin",4148 64 => "sin",
4149 80 => "__sinx",4149 80 => "__sinx",
4150 128 => "sinq",4150 128 => "sinf128",
4151 },4151 },
4152 .cos => switch (bits) {4152 .cos => switch (bits) {
4153 else => unreachable,4153 else => unreachable,
...@@ -4155,7 +4155,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -4155,7 +4155,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
4155 32 => "cosf",4155 32 => "cosf",
4156 64 => "cos",4156 64 => "cos",
4157 80 => "__cosx",4157 80 => "__cosx",
4158 128 => "cosq",4158 128 => "cosf128",
4159 },4159 },
4160 .tan => switch (bits) {4160 .tan => switch (bits) {
4161 else => unreachable,4161 else => unreachable,
...@@ -4163,7 +4163,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -4163,7 +4163,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
4163 32 => "tanf",4163 32 => "tanf",
4164 64 => "tan",4164 64 => "tan",
4165 80 => "__tanx",4165 80 => "__tanx",
4166 128 => "tanq",4166 128 => "tanf128",
4167 },4167 },
4168 .exp => switch (bits) {4168 .exp => switch (bits) {
4169 else => unreachable,4169 else => unreachable,
...@@ -4171,7 +4171,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -4171,7 +4171,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
4171 32 => "expf",4171 32 => "expf",
4172 64 => "exp",4172 64 => "exp",
4173 80 => "__expx",4173 80 => "__expx",
4174 128 => "expq",4174 128 => "expf128",
4175 },4175 },
4176 .exp2 => switch (bits) {4176 .exp2 => switch (bits) {
4177 else => unreachable,4177 else => unreachable,
...@@ -4179,7 +4179,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -4179,7 +4179,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
4179 32 => "exp2f",4179 32 => "exp2f",
4180 64 => "exp2",4180 64 => "exp2",
4181 80 => "__exp2x",4181 80 => "__exp2x",
4182 128 => "exp2q",4182 128 => "exp2f128",
4183 },4183 },
4184 .log => switch (bits) {4184 .log => switch (bits) {
4185 else => unreachable,4185 else => unreachable,
...@@ -4187,7 +4187,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -4187,7 +4187,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
4187 32 => "logf",4187 32 => "logf",
4188 64 => "log",4188 64 => "log",
4189 80 => "__logx",4189 80 => "__logx",
4190 128 => "logq",4190 128 => "logf128",
4191 },4191 },
4192 .log2 => switch (bits) {4192 .log2 => switch (bits) {
4193 else => unreachable,4193 else => unreachable,
...@@ -4195,7 +4195,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -4195,7 +4195,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
4195 32 => "log2f",4195 32 => "log2f",
4196 64 => "log2",4196 64 => "log2",
4197 80 => "__log2x",4197 80 => "__log2x",
4198 128 => "log2q",4198 128 => "log2f128",
4199 },4199 },
4200 .log10 => switch (bits) {4200 .log10 => switch (bits) {
4201 else => unreachable,4201 else => unreachable,
...@@ -4203,7 +4203,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -4203,7 +4203,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
4203 32 => "log10f",4203 32 => "log10f",
4204 64 => "log10",4204 64 => "log10",
4205 80 => "__log10x",4205 80 => "__log10x",
4206 128 => "log10q",4206 128 => "log10f128",
4207 },4207 },
4208 },4208 },
4209 .reloc = .{ .label = @intCast(isel.instructions.items.len) },4209 .reloc = .{ .label = @intCast(isel.instructions.items.len) },
...@@ -7118,7 +7118,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,...@@ -7118,7 +7118,7 @@ pub fn body(isel: *Select, air_body: []const Air.Inst.Index) error{ OutOfMemory,
7118 32 => "fmaf",7118 32 => "fmaf",
7119 64 => "fma",7119 64 => "fma",
7120 80 => "__fmax",7120 80 => "__fmax",
7121 128 => "fmaq",7121 128 => "fmaf128",
7122 },7122 },
7123 .reloc = .{ .label = @intCast(isel.instructions.items.len) },7123 .reloc = .{ .label = @intCast(isel.instructions.items.len) },
7124 });7124 });
src/codegen/wasm/CodeGen.zig+16-16
...@@ -4340,7 +4340,7 @@ fn floatRem(cg: *CodeGen, ty: FloatType, lhs: WValue, rhs: WValue) InnerError!WV...@@ -4340,7 +4340,7 @@ fn floatRem(cg: *CodeGen, ty: FloatType, lhs: WValue, rhs: WValue) InnerError!WV
4340 .f32 => return cg.callIntrinsic(.fmodf, &.{ .f32_type, .f32_type }, Type.f32, &.{ lhs, rhs }),4340 .f32 => return cg.callIntrinsic(.fmodf, &.{ .f32_type, .f32_type }, Type.f32, &.{ lhs, rhs }),
4341 .f64 => return cg.callIntrinsic(.fmod, &.{ .f64_type, .f64_type }, Type.f64, &.{ lhs, rhs }),4341 .f64 => return cg.callIntrinsic(.fmod, &.{ .f64_type, .f64_type }, Type.f64, &.{ lhs, rhs }),
4342 .f80 => return cg.callIntrinsic(.__fmodx, &.{ .f80_type, .f80_type }, Type.f80, &.{ lhs, rhs }),4342 .f80 => return cg.callIntrinsic(.__fmodx, &.{ .f80_type, .f80_type }, Type.f80, &.{ lhs, rhs }),
4343 .f128 => return cg.callIntrinsic(.fmodq, &.{ .f128_type, .f128_type }, Type.f128, &.{ lhs, rhs }),4343 .f128 => return cg.callIntrinsic(.fmodf128, &.{ .f128_type, .f128_type }, Type.f128, &.{ lhs, rhs }),
4344 }4344 }
4345}4345}
43464346
...@@ -4376,7 +4376,7 @@ fn floatMax(cg: *CodeGen, ty: FloatType, lhs: WValue, rhs: WValue) InnerError!WV...@@ -4376,7 +4376,7 @@ fn floatMax(cg: *CodeGen, ty: FloatType, lhs: WValue, rhs: WValue) InnerError!WV
4376 .f32 => return cg.callIntrinsic(.fmaxf, &.{ .f32_type, .f32_type }, Type.f32, &.{ lhs, rhs }),4376 .f32 => return cg.callIntrinsic(.fmaxf, &.{ .f32_type, .f32_type }, Type.f32, &.{ lhs, rhs }),
4377 .f64 => return cg.callIntrinsic(.fmax, &.{ .f64_type, .f64_type }, Type.f64, &.{ lhs, rhs }),4377 .f64 => return cg.callIntrinsic(.fmax, &.{ .f64_type, .f64_type }, Type.f64, &.{ lhs, rhs }),
4378 .f80 => return cg.callIntrinsic(.__fmaxx, &.{ .f80_type, .f80_type }, Type.f80, &.{ lhs, rhs }),4378 .f80 => return cg.callIntrinsic(.__fmaxx, &.{ .f80_type, .f80_type }, Type.f80, &.{ lhs, rhs }),
4379 .f128 => return cg.callIntrinsic(.fmaxq, &.{ .f128_type, .f128_type }, Type.f128, &.{ lhs, rhs }),4379 .f128 => return cg.callIntrinsic(.fmaxf128, &.{ .f128_type, .f128_type }, Type.f128, &.{ lhs, rhs }),
4380 }4380 }
4381}4381}
43824382
...@@ -4387,7 +4387,7 @@ fn floatMin(cg: *CodeGen, ty: FloatType, lhs: WValue, rhs: WValue) InnerError!WV...@@ -4387,7 +4387,7 @@ fn floatMin(cg: *CodeGen, ty: FloatType, lhs: WValue, rhs: WValue) InnerError!WV
4387 .f32 => return cg.callIntrinsic(.fminf, &.{ .f32_type, .f32_type }, Type.f32, &.{ lhs, rhs }),4387 .f32 => return cg.callIntrinsic(.fminf, &.{ .f32_type, .f32_type }, Type.f32, &.{ lhs, rhs }),
4388 .f64 => return cg.callIntrinsic(.fmin, &.{ .f64_type, .f64_type }, Type.f64, &.{ lhs, rhs }),4388 .f64 => return cg.callIntrinsic(.fmin, &.{ .f64_type, .f64_type }, Type.f64, &.{ lhs, rhs }),
4389 .f80 => return cg.callIntrinsic(.__fminx, &.{ .f80_type, .f80_type }, Type.f80, &.{ lhs, rhs }),4389 .f80 => return cg.callIntrinsic(.__fminx, &.{ .f80_type, .f80_type }, Type.f80, &.{ lhs, rhs }),
4390 .f128 => return cg.callIntrinsic(.fminq, &.{ .f128_type, .f128_type }, Type.f128, &.{ lhs, rhs }),4390 .f128 => return cg.callIntrinsic(.fminf128, &.{ .f128_type, .f128_type }, Type.f128, &.{ lhs, rhs }),
4391 }4391 }
4392}4392}
43934393
...@@ -4405,7 +4405,7 @@ fn floatSqrt(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {...@@ -4405,7 +4405,7 @@ fn floatSqrt(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {
4405 return .stack;4405 return .stack;
4406 },4406 },
4407 .f80 => return cg.callIntrinsic(.__sqrtx, &.{.f80_type}, Type.f80, &.{arg}),4407 .f80 => return cg.callIntrinsic(.__sqrtx, &.{.f80_type}, Type.f80, &.{arg}),
4408 .f128 => return cg.callIntrinsic(.sqrtq, &.{.f128_type}, Type.f128, &.{arg}),4408 .f128 => return cg.callIntrinsic(.sqrtf128, &.{.f128_type}, Type.f128, &.{arg}),
4409 }4409 }
4410}4410}
44114411
...@@ -4415,7 +4415,7 @@ fn floatSin(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {...@@ -4415,7 +4415,7 @@ fn floatSin(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {
4415 .f32 => return cg.callIntrinsic(.sinf, &.{.f32_type}, Type.f32, &.{arg}),4415 .f32 => return cg.callIntrinsic(.sinf, &.{.f32_type}, Type.f32, &.{arg}),
4416 .f64 => return cg.callIntrinsic(.sin, &.{.f64_type}, Type.f64, &.{arg}),4416 .f64 => return cg.callIntrinsic(.sin, &.{.f64_type}, Type.f64, &.{arg}),
4417 .f80 => return cg.callIntrinsic(.__sinx, &.{.f80_type}, Type.f80, &.{arg}),4417 .f80 => return cg.callIntrinsic(.__sinx, &.{.f80_type}, Type.f80, &.{arg}),
4418 .f128 => return cg.callIntrinsic(.sinq, &.{.f128_type}, Type.f128, &.{arg}),4418 .f128 => return cg.callIntrinsic(.sinf128, &.{.f128_type}, Type.f128, &.{arg}),
4419 }4419 }
4420}4420}
44214421
...@@ -4425,7 +4425,7 @@ fn floatCos(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {...@@ -4425,7 +4425,7 @@ fn floatCos(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {
4425 .f32 => return cg.callIntrinsic(.cosf, &.{.f32_type}, Type.f32, &.{arg}),4425 .f32 => return cg.callIntrinsic(.cosf, &.{.f32_type}, Type.f32, &.{arg}),
4426 .f64 => return cg.callIntrinsic(.cos, &.{.f64_type}, Type.f64, &.{arg}),4426 .f64 => return cg.callIntrinsic(.cos, &.{.f64_type}, Type.f64, &.{arg}),
4427 .f80 => return cg.callIntrinsic(.__cosx, &.{.f80_type}, Type.f80, &.{arg}),4427 .f80 => return cg.callIntrinsic(.__cosx, &.{.f80_type}, Type.f80, &.{arg}),
4428 .f128 => return cg.callIntrinsic(.cosq, &.{.f128_type}, Type.f128, &.{arg}),4428 .f128 => return cg.callIntrinsic(.cosf128, &.{.f128_type}, Type.f128, &.{arg}),
4429 }4429 }
4430}4430}
44314431
...@@ -4435,7 +4435,7 @@ fn floatTan(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {...@@ -4435,7 +4435,7 @@ fn floatTan(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {
4435 .f32 => return cg.callIntrinsic(.tanf, &.{.f32_type}, Type.f32, &.{arg}),4435 .f32 => return cg.callIntrinsic(.tanf, &.{.f32_type}, Type.f32, &.{arg}),
4436 .f64 => return cg.callIntrinsic(.tan, &.{.f64_type}, Type.f64, &.{arg}),4436 .f64 => return cg.callIntrinsic(.tan, &.{.f64_type}, Type.f64, &.{arg}),
4437 .f80 => return cg.callIntrinsic(.__tanx, &.{.f80_type}, Type.f80, &.{arg}),4437 .f80 => return cg.callIntrinsic(.__tanx, &.{.f80_type}, Type.f80, &.{arg}),
4438 .f128 => return cg.callIntrinsic(.tanq, &.{.f128_type}, Type.f128, &.{arg}),4438 .f128 => return cg.callIntrinsic(.tanf128, &.{.f128_type}, Type.f128, &.{arg}),
4439 }4439 }
4440}4440}
44414441
...@@ -4445,7 +4445,7 @@ fn floatExp(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {...@@ -4445,7 +4445,7 @@ fn floatExp(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {
4445 .f32 => return cg.callIntrinsic(.expf, &.{.f32_type}, Type.f32, &.{arg}),4445 .f32 => return cg.callIntrinsic(.expf, &.{.f32_type}, Type.f32, &.{arg}),
4446 .f64 => return cg.callIntrinsic(.exp, &.{.f64_type}, Type.f64, &.{arg}),4446 .f64 => return cg.callIntrinsic(.exp, &.{.f64_type}, Type.f64, &.{arg}),
4447 .f80 => return cg.callIntrinsic(.__expx, &.{.f80_type}, Type.f80, &.{arg}),4447 .f80 => return cg.callIntrinsic(.__expx, &.{.f80_type}, Type.f80, &.{arg}),
4448 .f128 => return cg.callIntrinsic(.expq, &.{.f128_type}, Type.f128, &.{arg}),4448 .f128 => return cg.callIntrinsic(.expf128, &.{.f128_type}, Type.f128, &.{arg}),
4449 }4449 }
4450}4450}
44514451
...@@ -4455,7 +4455,7 @@ fn floatExp2(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {...@@ -4455,7 +4455,7 @@ fn floatExp2(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {
4455 .f32 => return cg.callIntrinsic(.exp2f, &.{.f32_type}, Type.f32, &.{arg}),4455 .f32 => return cg.callIntrinsic(.exp2f, &.{.f32_type}, Type.f32, &.{arg}),
4456 .f64 => return cg.callIntrinsic(.exp2, &.{.f64_type}, Type.f64, &.{arg}),4456 .f64 => return cg.callIntrinsic(.exp2, &.{.f64_type}, Type.f64, &.{arg}),
4457 .f80 => return cg.callIntrinsic(.__exp2x, &.{.f80_type}, Type.f80, &.{arg}),4457 .f80 => return cg.callIntrinsic(.__exp2x, &.{.f80_type}, Type.f80, &.{arg}),
4458 .f128 => return cg.callIntrinsic(.exp2q, &.{.f128_type}, Type.f128, &.{arg}),4458 .f128 => return cg.callIntrinsic(.exp2f128, &.{.f128_type}, Type.f128, &.{arg}),
4459 }4459 }
4460}4460}
44614461
...@@ -4465,7 +4465,7 @@ fn floatLog(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {...@@ -4465,7 +4465,7 @@ fn floatLog(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {
4465 .f32 => return cg.callIntrinsic(.logf, &.{.f32_type}, Type.f32, &.{arg}),4465 .f32 => return cg.callIntrinsic(.logf, &.{.f32_type}, Type.f32, &.{arg}),
4466 .f64 => return cg.callIntrinsic(.log, &.{.f64_type}, Type.f64, &.{arg}),4466 .f64 => return cg.callIntrinsic(.log, &.{.f64_type}, Type.f64, &.{arg}),
4467 .f80 => return cg.callIntrinsic(.__logx, &.{.f80_type}, Type.f80, &.{arg}),4467 .f80 => return cg.callIntrinsic(.__logx, &.{.f80_type}, Type.f80, &.{arg}),
4468 .f128 => return cg.callIntrinsic(.logq, &.{.f128_type}, Type.f128, &.{arg}),4468 .f128 => return cg.callIntrinsic(.logf128, &.{.f128_type}, Type.f128, &.{arg}),
4469 }4469 }
4470}4470}
44714471
...@@ -4475,7 +4475,7 @@ fn floatLog2(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {...@@ -4475,7 +4475,7 @@ fn floatLog2(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {
4475 .f32 => return cg.callIntrinsic(.log2f, &.{.f32_type}, Type.f32, &.{arg}),4475 .f32 => return cg.callIntrinsic(.log2f, &.{.f32_type}, Type.f32, &.{arg}),
4476 .f64 => return cg.callIntrinsic(.log2, &.{.f64_type}, Type.f64, &.{arg}),4476 .f64 => return cg.callIntrinsic(.log2, &.{.f64_type}, Type.f64, &.{arg}),
4477 .f80 => return cg.callIntrinsic(.__log2x, &.{.f80_type}, Type.f80, &.{arg}),4477 .f80 => return cg.callIntrinsic(.__log2x, &.{.f80_type}, Type.f80, &.{arg}),
4478 .f128 => return cg.callIntrinsic(.log2q, &.{.f128_type}, Type.f128, &.{arg}),4478 .f128 => return cg.callIntrinsic(.log2f128, &.{.f128_type}, Type.f128, &.{arg}),
4479 }4479 }
4480}4480}
44814481
...@@ -4485,7 +4485,7 @@ fn floatLog10(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {...@@ -4485,7 +4485,7 @@ fn floatLog10(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {
4485 .f32 => return cg.callIntrinsic(.log10f, &.{.f32_type}, Type.f32, &.{arg}),4485 .f32 => return cg.callIntrinsic(.log10f, &.{.f32_type}, Type.f32, &.{arg}),
4486 .f64 => return cg.callIntrinsic(.log10, &.{.f64_type}, Type.f64, &.{arg}),4486 .f64 => return cg.callIntrinsic(.log10, &.{.f64_type}, Type.f64, &.{arg}),
4487 .f80 => return cg.callIntrinsic(.__log10x, &.{.f80_type}, Type.f80, &.{arg}),4487 .f80 => return cg.callIntrinsic(.__log10x, &.{.f80_type}, Type.f80, &.{arg}),
4488 .f128 => return cg.callIntrinsic(.log10q, &.{.f128_type}, Type.f128, &.{arg}),4488 .f128 => return cg.callIntrinsic(.log10f128, &.{.f128_type}, Type.f128, &.{arg}),
4489 }4489 }
4490}4490}
44914491
...@@ -4503,7 +4503,7 @@ fn floatFloor(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {...@@ -4503,7 +4503,7 @@ fn floatFloor(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {
4503 return .stack;4503 return .stack;
4504 },4504 },
4505 .f80 => return cg.callIntrinsic(.__floorx, &.{.f80_type}, Type.f80, &.{arg}),4505 .f80 => return cg.callIntrinsic(.__floorx, &.{.f80_type}, Type.f80, &.{arg}),
4506 .f128 => return cg.callIntrinsic(.floorq, &.{.f128_type}, Type.f128, &.{arg}),4506 .f128 => return cg.callIntrinsic(.floorf128, &.{.f128_type}, Type.f128, &.{arg}),
4507 }4507 }
4508}4508}
45094509
...@@ -4521,7 +4521,7 @@ fn floatCeil(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {...@@ -4521,7 +4521,7 @@ fn floatCeil(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {
4521 return .stack;4521 return .stack;
4522 },4522 },
4523 .f80 => return cg.callIntrinsic(.__ceilx, &.{.f80_type}, Type.f80, &.{arg}),4523 .f80 => return cg.callIntrinsic(.__ceilx, &.{.f80_type}, Type.f80, &.{arg}),
4524 .f128 => return cg.callIntrinsic(.ceilq, &.{.f128_type}, Type.f128, &.{arg}),4524 .f128 => return cg.callIntrinsic(.ceilf128, &.{.f128_type}, Type.f128, &.{arg}),
4525 }4525 }
4526}4526}
45274527
...@@ -4539,7 +4539,7 @@ fn floatRound(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {...@@ -4539,7 +4539,7 @@ fn floatRound(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {
4539 return .stack;4539 return .stack;
4540 },4540 },
4541 .f80 => return cg.callIntrinsic(.__roundx, &.{.f80_type}, Type.f80, &.{arg}),4541 .f80 => return cg.callIntrinsic(.__roundx, &.{.f80_type}, Type.f80, &.{arg}),
4542 .f128 => return cg.callIntrinsic(.roundq, &.{.f128_type}, Type.f128, &.{arg}),4542 .f128 => return cg.callIntrinsic(.roundf128, &.{.f128_type}, Type.f128, &.{arg}),
4543 }4543 }
4544}4544}
45454545
...@@ -4557,7 +4557,7 @@ fn floatTrunc(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {...@@ -4557,7 +4557,7 @@ fn floatTrunc(cg: *CodeGen, ty: FloatType, arg: WValue) InnerError!WValue {
4557 return .stack;4557 return .stack;
4558 },4558 },
4559 .f80 => return cg.callIntrinsic(.__truncx, &.{.f80_type}, Type.f80, &.{arg}),4559 .f80 => return cg.callIntrinsic(.__truncx, &.{.f80_type}, Type.f80, &.{arg}),
4560 .f128 => return cg.callIntrinsic(.truncq, &.{.f128_type}, Type.f128, &.{arg}),4560 .f128 => return cg.callIntrinsic(.truncf128, &.{.f128_type}, Type.f128, &.{arg}),
4561 }4561 }
4562}4562}
45634563
src/codegen/wasm/Mir.zig+18-18
...@@ -991,48 +991,48 @@ pub const Intrinsic = enum(u32) {...@@ -991,48 +991,48 @@ pub const Intrinsic = enum(u32) {
991 __udivti3,991 __udivti3,
992 __umodei5,992 __umodei5,
993 __umodti3,993 __umodti3,
994 ceilq,994 ceilf128,
995 cos,995 cos,
996 cosf,996 cosf,
997 cosq,997 cosf128,
998 exp,998 exp,
999 exp2,999 exp2,
1000 exp2f,1000 exp2f,
1001 exp2q,1001 exp2f128,
1002 expf,1002 expf,
1003 expq,1003 expf128,
1004 fabsq,1004 fabsf128,
1005 floorq,1005 floorf128,
1006 fma,1006 fma,
1007 fmaf,1007 fmaf,
1008 fmaq,1008 fmaf128,
1009 fmax,1009 fmax,
1010 fmaxf,1010 fmaxf,
1011 fmaxq,1011 fmaxf128,
1012 fmin,1012 fmin,
1013 fminf,1013 fminf,
1014 fminq,1014 fminf128,
1015 fmod,1015 fmod,
1016 fmodf,1016 fmodf,
1017 fmodq,1017 fmodf128,
1018 log,1018 log,
1019 log10,1019 log10,
1020 log10f,1020 log10f,
1021 log10q,1021 log10f128,
1022 log2,1022 log2,
1023 log2f,1023 log2f,
1024 log2q,1024 log2f128,
1025 logf,1025 logf,
1026 logq,1026 logf128,
1027 roundq,1027 roundf128,
1028 sin,1028 sin,
1029 sinf,1029 sinf,
1030 sinq,1030 sinf128,
1031 sqrtq,1031 sqrtf128,
1032 tan,1032 tan,
1033 tanf,1033 tanf,
1034 tanq,1034 tanf128,
1035 truncq,1035 truncf128,
1036 memcpy,1036 memcpy,
1037 memmove,1037 memmove,
1038 memset,1038 memset,
src/codegen/x86_64/CodeGen.zig+148-148
...@@ -34436,7 +34436,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -34436,7 +34436,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
34436 .call_frame = .{ .alignment = .@"16" },34436 .call_frame = .{ .alignment = .@"16" },
34437 .extra_temps = .{34437 .extra_temps = .{
34438 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },34438 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
34439 .{ .type = .usize, .kind = .{ .extern_func = "truncq" } },34439 .{ .type = .usize, .kind = .{ .extern_func = "truncf128" } },
34440 .unused,34440 .unused,
34441 .unused,34441 .unused,
34442 .unused,34442 .unused,
...@@ -34470,7 +34470,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -34470,7 +34470,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
34470 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },34470 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
34471 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },34471 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
34472 .{ .type = .f128, .kind = .mem },34472 .{ .type = .f128, .kind = .mem },
34473 .{ .type = .usize, .kind = .{ .extern_func = "truncq" } },34473 .{ .type = .usize, .kind = .{ .extern_func = "truncf128" } },
34474 .unused,34474 .unused,
34475 .unused,34475 .unused,
34476 .unused,34476 .unused,
...@@ -34505,7 +34505,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -34505,7 +34505,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
34505 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },34505 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
34506 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },34506 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
34507 .{ .type = .f128, .kind = .mem },34507 .{ .type = .f128, .kind = .mem },
34508 .{ .type = .usize, .kind = .{ .extern_func = "truncq" } },34508 .{ .type = .usize, .kind = .{ .extern_func = "truncf128" } },
34509 .unused,34509 .unused,
34510 .unused,34510 .unused,
34511 .unused,34511 .unused,
...@@ -34540,7 +34540,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -34540,7 +34540,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
34540 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },34540 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
34541 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },34541 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
34542 .{ .type = .f128, .kind = .mem },34542 .{ .type = .f128, .kind = .mem },
34543 .{ .type = .usize, .kind = .{ .extern_func = "truncq" } },34543 .{ .type = .usize, .kind = .{ .extern_func = "truncf128" } },
34544 .unused,34544 .unused,
34545 .unused,34545 .unused,
34546 .unused,34546 .unused,
...@@ -34575,7 +34575,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -34575,7 +34575,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
34575 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },34575 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
34576 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },34576 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
34577 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },34577 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
34578 .{ .type = .usize, .kind = .{ .extern_func = "truncq" } },34578 .{ .type = .usize, .kind = .{ .extern_func = "truncf128" } },
34579 .unused,34579 .unused,
34580 .unused,34580 .unused,
34581 .unused,34581 .unused,
...@@ -34612,7 +34612,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -34612,7 +34612,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
34612 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },34612 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
34613 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },34613 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
34614 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },34614 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
34615 .{ .type = .usize, .kind = .{ .extern_func = "truncq" } },34615 .{ .type = .usize, .kind = .{ .extern_func = "truncf128" } },
34616 .unused,34616 .unused,
34617 .unused,34617 .unused,
34618 .unused,34618 .unused,
...@@ -34649,7 +34649,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -34649,7 +34649,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
34649 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },34649 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
34650 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },34650 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
34651 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },34651 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
34652 .{ .type = .usize, .kind = .{ .extern_func = "truncq" } },34652 .{ .type = .usize, .kind = .{ .extern_func = "truncf128" } },
34653 .unused,34653 .unused,
34654 .unused,34654 .unused,
34655 .unused,34655 .unused,
...@@ -34688,7 +34688,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -34688,7 +34688,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
34688 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },34688 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
34689 .{ .type = .f128, .kind = .mem },34689 .{ .type = .f128, .kind = .mem },
34690 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },34690 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
34691 .{ .type = .usize, .kind = .{ .extern_func = "truncq" } },34691 .{ .type = .usize, .kind = .{ .extern_func = "truncf128" } },
34692 .unused,34692 .unused,
34693 .unused,34693 .unused,
34694 .unused,34694 .unused,
...@@ -34727,7 +34727,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -34727,7 +34727,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
34727 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },34727 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
34728 .{ .type = .f128, .kind = .mem },34728 .{ .type = .f128, .kind = .mem },
34729 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },34729 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
34730 .{ .type = .usize, .kind = .{ .extern_func = "truncq" } },34730 .{ .type = .usize, .kind = .{ .extern_func = "truncf128" } },
34731 .unused,34731 .unused,
34732 .unused,34732 .unused,
34733 .unused,34733 .unused,
...@@ -34766,7 +34766,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -34766,7 +34766,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
34766 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },34766 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
34767 .{ .type = .f128, .kind = .mem },34767 .{ .type = .f128, .kind = .mem },
34768 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },34768 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
34769 .{ .type = .usize, .kind = .{ .extern_func = "truncq" } },34769 .{ .type = .usize, .kind = .{ .extern_func = "truncf128" } },
34770 .unused,34770 .unused,
34771 .unused,34771 .unused,
34772 .unused,34772 .unused,
...@@ -35960,8 +35960,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -35960,8 +35960,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
35960 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },35960 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
35961 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {35961 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
35962 else => unreachable,35962 else => unreachable,
35963 .zero => "truncq",35963 .zero => "truncf128",
35964 .down => "floorq",35964 .down => "floorf128",
35965 } } },35965 } } },
35966 .unused,35966 .unused,
35967 .unused,35967 .unused,
...@@ -35998,8 +35998,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -35998,8 +35998,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
35998 .{ .type = .f128, .kind = .mem },35998 .{ .type = .f128, .kind = .mem },
35999 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {35999 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
36000 else => unreachable,36000 else => unreachable,
36001 .zero => "truncq",36001 .zero => "truncf128",
36002 .down => "floorq",36002 .down => "floorf128",
36003 } } },36003 } } },
36004 .unused,36004 .unused,
36005 .unused,36005 .unused,
...@@ -36037,8 +36037,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -36037,8 +36037,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
36037 .{ .type = .f128, .kind = .mem },36037 .{ .type = .f128, .kind = .mem },
36038 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {36038 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
36039 else => unreachable,36039 else => unreachable,
36040 .zero => "truncq",36040 .zero => "truncf128",
36041 .down => "floorq",36041 .down => "floorf128",
36042 } } },36042 } } },
36043 .unused,36043 .unused,
36044 .unused,36044 .unused,
...@@ -36076,8 +36076,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -36076,8 +36076,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
36076 .{ .type = .f128, .kind = .mem },36076 .{ .type = .f128, .kind = .mem },
36077 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {36077 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
36078 else => unreachable,36078 else => unreachable,
36079 .zero => "truncq",36079 .zero => "truncf128",
36080 .down => "floorq",36080 .down => "floorf128",
36081 } } },36081 } } },
36082 .unused,36082 .unused,
36083 .unused,36083 .unused,
...@@ -36115,8 +36115,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -36115,8 +36115,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
36115 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },36115 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
36116 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {36116 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
36117 else => unreachable,36117 else => unreachable,
36118 .zero => "truncq",36118 .zero => "truncf128",
36119 .down => "floorq",36119 .down => "floorf128",
36120 } } },36120 } } },
36121 .unused,36121 .unused,
36122 .unused,36122 .unused,
...@@ -36156,8 +36156,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -36156,8 +36156,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
36156 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },36156 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
36157 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {36157 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
36158 else => unreachable,36158 else => unreachable,
36159 .zero => "truncq",36159 .zero => "truncf128",
36160 .down => "floorq",36160 .down => "floorf128",
36161 } } },36161 } } },
36162 .unused,36162 .unused,
36163 .unused,36163 .unused,
...@@ -36197,8 +36197,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -36197,8 +36197,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
36197 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },36197 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
36198 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {36198 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
36199 else => unreachable,36199 else => unreachable,
36200 .zero => "truncq",36200 .zero => "truncf128",
36201 .down => "floorq",36201 .down => "floorf128",
36202 } } },36202 } } },
36203 .unused,36203 .unused,
36204 .unused,36204 .unused,
...@@ -36240,8 +36240,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -36240,8 +36240,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
36240 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },36240 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
36241 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {36241 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
36242 else => unreachable,36242 else => unreachable,
36243 .zero => "truncq",36243 .zero => "truncf128",
36244 .down => "floorq",36244 .down => "floorf128",
36245 } } },36245 } } },
36246 .unused,36246 .unused,
36247 .unused,36247 .unused,
...@@ -36283,8 +36283,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -36283,8 +36283,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
36283 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },36283 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
36284 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {36284 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
36285 else => unreachable,36285 else => unreachable,
36286 .zero => "truncq",36286 .zero => "truncf128",
36287 .down => "floorq",36287 .down => "floorf128",
36288 } } },36288 } } },
36289 .unused,36289 .unused,
36290 .unused,36290 .unused,
...@@ -36326,8 +36326,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -36326,8 +36326,8 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
36326 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },36326 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
36327 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {36327 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
36328 else => unreachable,36328 else => unreachable,
36329 .zero => "truncq",36329 .zero => "truncf128",
36330 .down => "floorq",36330 .down => "floorf128",
36331 } } },36331 } } },
36332 .unused,36332 .unused,
36333 .unused,36333 .unused,
...@@ -37691,7 +37691,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -37691,7 +37691,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
37691 .call_frame = .{ .alignment = .@"16" },37691 .call_frame = .{ .alignment = .@"16" },
37692 .extra_temps = .{37692 .extra_temps = .{
37693 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },37693 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
37694 .{ .type = .usize, .kind = .{ .extern_func = "floorq" } },37694 .{ .type = .usize, .kind = .{ .extern_func = "floorf128" } },
37695 .unused,37695 .unused,
37696 .unused,37696 .unused,
37697 .unused,37697 .unused,
...@@ -37725,7 +37725,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -37725,7 +37725,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
37725 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },37725 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
37726 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },37726 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
37727 .{ .type = .f128, .kind = .mem },37727 .{ .type = .f128, .kind = .mem },
37728 .{ .type = .usize, .kind = .{ .extern_func = "floorq" } },37728 .{ .type = .usize, .kind = .{ .extern_func = "floorf128" } },
37729 .unused,37729 .unused,
37730 .unused,37730 .unused,
37731 .unused,37731 .unused,
...@@ -37760,7 +37760,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -37760,7 +37760,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
37760 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },37760 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
37761 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },37761 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
37762 .{ .type = .f128, .kind = .mem },37762 .{ .type = .f128, .kind = .mem },
37763 .{ .type = .usize, .kind = .{ .extern_func = "floorq" } },37763 .{ .type = .usize, .kind = .{ .extern_func = "floorf128" } },
37764 .unused,37764 .unused,
37765 .unused,37765 .unused,
37766 .unused,37766 .unused,
...@@ -37795,7 +37795,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -37795,7 +37795,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
37795 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },37795 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
37796 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },37796 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
37797 .{ .type = .f128, .kind = .mem },37797 .{ .type = .f128, .kind = .mem },
37798 .{ .type = .usize, .kind = .{ .extern_func = "floorq" } },37798 .{ .type = .usize, .kind = .{ .extern_func = "floorf128" } },
37799 .unused,37799 .unused,
37800 .unused,37800 .unused,
37801 .unused,37801 .unused,
...@@ -37830,7 +37830,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -37830,7 +37830,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
37830 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },37830 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
37831 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },37831 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
37832 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },37832 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
37833 .{ .type = .usize, .kind = .{ .extern_func = "floorq" } },37833 .{ .type = .usize, .kind = .{ .extern_func = "floorf128" } },
37834 .unused,37834 .unused,
37835 .unused,37835 .unused,
37836 .unused,37836 .unused,
...@@ -37867,7 +37867,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -37867,7 +37867,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
37867 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },37867 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
37868 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },37868 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
37869 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },37869 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
37870 .{ .type = .usize, .kind = .{ .extern_func = "floorq" } },37870 .{ .type = .usize, .kind = .{ .extern_func = "floorf128" } },
37871 .unused,37871 .unused,
37872 .unused,37872 .unused,
37873 .unused,37873 .unused,
...@@ -37904,7 +37904,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -37904,7 +37904,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
37904 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },37904 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
37905 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },37905 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
37906 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },37906 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
37907 .{ .type = .usize, .kind = .{ .extern_func = "floorq" } },37907 .{ .type = .usize, .kind = .{ .extern_func = "floorf128" } },
37908 .unused,37908 .unused,
37909 .unused,37909 .unused,
37910 .unused,37910 .unused,
...@@ -37943,7 +37943,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -37943,7 +37943,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
37943 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },37943 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
37944 .{ .type = .f128, .kind = .mem },37944 .{ .type = .f128, .kind = .mem },
37945 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },37945 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
37946 .{ .type = .usize, .kind = .{ .extern_func = "floorq" } },37946 .{ .type = .usize, .kind = .{ .extern_func = "floorf128" } },
37947 .unused,37947 .unused,
37948 .unused,37948 .unused,
37949 .unused,37949 .unused,
...@@ -37982,7 +37982,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -37982,7 +37982,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
37982 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },37982 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
37983 .{ .type = .f128, .kind = .mem },37983 .{ .type = .f128, .kind = .mem },
37984 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },37984 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
37985 .{ .type = .usize, .kind = .{ .extern_func = "floorq" } },37985 .{ .type = .usize, .kind = .{ .extern_func = "floorf128" } },
37986 .unused,37986 .unused,
37987 .unused,37987 .unused,
37988 .unused,37988 .unused,
...@@ -38021,7 +38021,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -38021,7 +38021,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
38021 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },38021 .{ .type = .usize, .kind = .{ .extern_func = "__divtf3" } },
38022 .{ .type = .f128, .kind = .mem },38022 .{ .type = .f128, .kind = .mem },
38023 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },38023 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
38024 .{ .type = .usize, .kind = .{ .extern_func = "floorq" } },38024 .{ .type = .usize, .kind = .{ .extern_func = "floorf128" } },
38025 .unused,38025 .unused,
38026 .unused,38026 .unused,
38027 .unused,38027 .unused,
...@@ -39558,7 +39558,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -39558,7 +39558,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
39558 },39558 },
39559 .call_frame = .{ .alignment = .@"16" },39559 .call_frame = .{ .alignment = .@"16" },
39560 .extra_temps = .{39560 .extra_temps = .{
39561 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },39561 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
39562 .unused,39562 .unused,
39563 .unused,39563 .unused,
39564 .unused,39564 .unused,
...@@ -39590,7 +39590,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -39590,7 +39590,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
39590 .extra_temps = .{39590 .extra_temps = .{
39591 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },39591 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
39592 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },39592 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
39593 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },39593 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
39594 .unused,39594 .unused,
39595 .unused,39595 .unused,
39596 .unused,39596 .unused,
...@@ -39623,7 +39623,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -39623,7 +39623,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
39623 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },39623 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
39624 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },39624 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
39625 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },39625 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
39626 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },39626 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
39627 .unused,39627 .unused,
39628 .unused,39628 .unused,
39629 .unused,39629 .unused,
...@@ -39659,7 +39659,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -39659,7 +39659,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
39659 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },39659 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
39660 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },39660 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
39661 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },39661 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
39662 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },39662 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
39663 .unused,39663 .unused,
39664 .unused,39664 .unused,
39665 .unused,39665 .unused,
...@@ -39695,7 +39695,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -39695,7 +39695,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
39695 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },39695 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
39696 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },39696 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
39697 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },39697 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
39698 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },39698 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
39699 .unused,39699 .unused,
39700 .unused,39700 .unused,
39701 .unused,39701 .unused,
...@@ -39731,7 +39731,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -39731,7 +39731,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
39731 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },39731 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
39732 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },39732 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
39733 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },39733 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
39734 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },39734 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
39735 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },39735 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
39736 .unused,39736 .unused,
39737 .unused,39737 .unused,
...@@ -39767,7 +39767,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -39767,7 +39767,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
39767 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },39767 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
39768 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },39768 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
39769 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },39769 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
39770 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },39770 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
39771 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },39771 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
39772 .unused,39772 .unused,
39773 .unused,39773 .unused,
...@@ -39803,7 +39803,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -39803,7 +39803,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
39803 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },39803 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
39804 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },39804 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
39805 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },39805 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
39806 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },39806 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
39807 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },39807 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
39808 .unused,39808 .unused,
39809 .unused,39809 .unused,
...@@ -42803,7 +42803,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -42803,7 +42803,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
42803 .call_frame = .{ .alignment = .@"16" },42803 .call_frame = .{ .alignment = .@"16" },
42804 .extra_temps = .{42804 .extra_temps = .{
42805 .{ .type = .f128, .kind = .mem },42805 .{ .type = .f128, .kind = .mem },
42806 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },42806 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
42807 .{ .type = .u64, .kind = .{ .reg = .rcx } },42807 .{ .type = .u64, .kind = .{ .reg = .rcx } },
42808 .{ .type = .u64, .kind = .{ .reg = .rdx } },42808 .{ .type = .u64, .kind = .{ .reg = .rdx } },
42809 .{ .type = .u64, .kind = .{ .reg = .rax } },42809 .{ .type = .u64, .kind = .{ .reg = .rax } },
...@@ -42849,7 +42849,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -42849,7 +42849,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
42849 .call_frame = .{ .alignment = .@"16" },42849 .call_frame = .{ .alignment = .@"16" },
42850 .extra_temps = .{42850 .extra_temps = .{
42851 .{ .type = .f128, .kind = .mem },42851 .{ .type = .f128, .kind = .mem },
42852 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },42852 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
42853 .{ .type = .u64, .kind = .{ .reg = .rcx } },42853 .{ .type = .u64, .kind = .{ .reg = .rcx } },
42854 .{ .type = .u64, .kind = .{ .reg = .rdx } },42854 .{ .type = .u64, .kind = .{ .reg = .rdx } },
42855 .{ .type = .u64, .kind = .{ .reg = .rax } },42855 .{ .type = .u64, .kind = .{ .reg = .rax } },
...@@ -42895,7 +42895,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -42895,7 +42895,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
42895 .call_frame = .{ .alignment = .@"16" },42895 .call_frame = .{ .alignment = .@"16" },
42896 .extra_temps = .{42896 .extra_temps = .{
42897 .{ .type = .f128, .kind = .mem },42897 .{ .type = .f128, .kind = .mem },
42898 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },42898 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
42899 .{ .type = .u64, .kind = .{ .reg = .rcx } },42899 .{ .type = .u64, .kind = .{ .reg = .rcx } },
42900 .{ .type = .u64, .kind = .{ .reg = .rdx } },42900 .{ .type = .u64, .kind = .{ .reg = .rdx } },
42901 .{ .type = .u64, .kind = .{ .reg = .rax } },42901 .{ .type = .u64, .kind = .{ .reg = .rax } },
...@@ -42942,7 +42942,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -42942,7 +42942,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
42942 .call_frame = .{ .alignment = .@"16" },42942 .call_frame = .{ .alignment = .@"16" },
42943 .extra_temps = .{42943 .extra_temps = .{
42944 .{ .type = .f128, .kind = .mem },42944 .{ .type = .f128, .kind = .mem },
42945 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },42945 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
42946 .{ .type = .u64, .kind = .{ .reg = .rdx } },42946 .{ .type = .u64, .kind = .{ .reg = .rdx } },
42947 .{ .type = .f128, .kind = .mem },42947 .{ .type = .f128, .kind = .mem },
42948 .{ .type = .u64, .kind = .{ .reg = .rax } },42948 .{ .type = .u64, .kind = .{ .reg = .rax } },
...@@ -42984,7 +42984,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -42984,7 +42984,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
42984 .extra_temps = .{42984 .extra_temps = .{
42985 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },42985 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
42986 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },42986 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
42987 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },42987 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
42988 .{ .type = .f128, .kind = .mem },42988 .{ .type = .f128, .kind = .mem },
42989 .{ .type = .f128, .kind = .{ .reg = .xmm1 } },42989 .{ .type = .f128, .kind = .{ .reg = .xmm1 } },
42990 .{ .type = .u64, .kind = .{ .reg = .rax } },42990 .{ .type = .u64, .kind = .{ .reg = .rax } },
...@@ -43029,7 +43029,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -43029,7 +43029,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
43029 .extra_temps = .{43029 .extra_temps = .{
43030 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },43030 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
43031 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },43031 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
43032 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },43032 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
43033 .{ .type = .f128, .kind = .mem },43033 .{ .type = .f128, .kind = .mem },
43034 .{ .type = .f128, .kind = .{ .reg = .xmm1 } },43034 .{ .type = .f128, .kind = .{ .reg = .xmm1 } },
43035 .{ .type = .u64, .kind = .{ .reg = .rax } },43035 .{ .type = .u64, .kind = .{ .reg = .rax } },
...@@ -43074,7 +43074,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -43074,7 +43074,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
43074 .extra_temps = .{43074 .extra_temps = .{
43075 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },43075 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
43076 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },43076 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
43077 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },43077 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
43078 .{ .type = .f128, .kind = .mem },43078 .{ .type = .f128, .kind = .mem },
43079 .{ .type = .f128, .kind = .{ .reg = .xmm1 } },43079 .{ .type = .f128, .kind = .{ .reg = .xmm1 } },
43080 .{ .type = .u64, .kind = .{ .reg = .rax } },43080 .{ .type = .u64, .kind = .{ .reg = .rax } },
...@@ -43120,7 +43120,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -43120,7 +43120,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
43120 .extra_temps = .{43120 .extra_temps = .{
43121 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },43121 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
43122 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },43122 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
43123 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },43123 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
43124 .{ .type = .f128, .kind = .mem },43124 .{ .type = .f128, .kind = .mem },
43125 .{ .type = .usize, .kind = .{ .reg = .rax } },43125 .{ .type = .usize, .kind = .{ .reg = .rax } },
43126 .{ .type = .usize, .kind = .{ .extern_func = "__addtf3" } },43126 .{ .type = .usize, .kind = .{ .extern_func = "__addtf3" } },
...@@ -43164,7 +43164,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -43164,7 +43164,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
43164 .{ .type = .isize, .kind = .{ .rc = .general_purpose } },43164 .{ .type = .isize, .kind = .{ .rc = .general_purpose } },
43165 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },43165 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
43166 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },43166 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
43167 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },43167 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
43168 .{ .type = .f128, .kind = .{ .reg = .rcx } },43168 .{ .type = .f128, .kind = .{ .reg = .rcx } },
43169 .{ .type = .f128, .kind = .{ .reg = .rdx } },43169 .{ .type = .f128, .kind = .{ .reg = .rdx } },
43170 .{ .type = .f128, .kind = .{ .reg = .rax } },43170 .{ .type = .f128, .kind = .{ .reg = .rax } },
...@@ -43211,7 +43211,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -43211,7 +43211,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
43211 .{ .type = .isize, .kind = .{ .rc = .general_purpose } },43211 .{ .type = .isize, .kind = .{ .rc = .general_purpose } },
43212 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },43212 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
43213 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },43213 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
43214 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },43214 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
43215 .{ .type = .f128, .kind = .{ .reg = .rcx } },43215 .{ .type = .f128, .kind = .{ .reg = .rcx } },
43216 .{ .type = .f128, .kind = .{ .reg = .rdx } },43216 .{ .type = .f128, .kind = .{ .reg = .rdx } },
43217 .{ .type = .f128, .kind = .{ .reg = .rax } },43217 .{ .type = .f128, .kind = .{ .reg = .rax } },
...@@ -43258,7 +43258,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -43258,7 +43258,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
43258 .{ .type = .isize, .kind = .{ .rc = .general_purpose } },43258 .{ .type = .isize, .kind = .{ .rc = .general_purpose } },
43259 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },43259 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
43260 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },43260 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
43261 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },43261 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
43262 .{ .type = .f128, .kind = .{ .reg = .rcx } },43262 .{ .type = .f128, .kind = .{ .reg = .rcx } },
43263 .{ .type = .f128, .kind = .{ .reg = .rdx } },43263 .{ .type = .f128, .kind = .{ .reg = .rdx } },
43264 .{ .type = .f128, .kind = .{ .reg = .rax } },43264 .{ .type = .f128, .kind = .{ .reg = .rax } },
...@@ -43306,7 +43306,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -43306,7 +43306,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
43306 .{ .type = .isize, .kind = .{ .rc = .general_purpose } },43306 .{ .type = .isize, .kind = .{ .rc = .general_purpose } },
43307 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },43307 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
43308 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },43308 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
43309 .{ .type = .usize, .kind = .{ .extern_func = "fmodq" } },43309 .{ .type = .usize, .kind = .{ .extern_func = "fmodf128" } },
43310 .{ .type = .f128, .kind = .{ .reg = .rdx } },43310 .{ .type = .f128, .kind = .{ .reg = .rdx } },
43311 .{ .type = .f128, .kind = .mem },43311 .{ .type = .f128, .kind = .mem },
43312 .{ .type = .f128, .kind = .{ .reg = .rax } },43312 .{ .type = .f128, .kind = .{ .reg = .rax } },
...@@ -47623,7 +47623,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -47623,7 +47623,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
47623 },47623 },
47624 .call_frame = .{ .alignment = .@"16" },47624 .call_frame = .{ .alignment = .@"16" },
47625 .extra_temps = .{47625 .extra_temps = .{
47626 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },47626 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
47627 .unused,47627 .unused,
47628 .unused,47628 .unused,
47629 .unused,47629 .unused,
...@@ -47655,7 +47655,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -47655,7 +47655,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
47655 .extra_temps = .{47655 .extra_temps = .{
47656 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },47656 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
47657 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },47657 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
47658 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },47658 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
47659 .unused,47659 .unused,
47660 .unused,47660 .unused,
47661 .unused,47661 .unused,
...@@ -47688,7 +47688,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -47688,7 +47688,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
47688 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },47688 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
47689 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },47689 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
47690 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },47690 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
47691 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },47691 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
47692 .unused,47692 .unused,
47693 .unused,47693 .unused,
47694 .unused,47694 .unused,
...@@ -47724,7 +47724,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -47724,7 +47724,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
47724 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },47724 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
47725 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },47725 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
47726 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },47726 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
47727 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },47727 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
47728 .unused,47728 .unused,
47729 .unused,47729 .unused,
47730 .unused,47730 .unused,
...@@ -47760,7 +47760,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -47760,7 +47760,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
47760 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },47760 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
47761 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },47761 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
47762 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },47762 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
47763 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },47763 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
47764 .unused,47764 .unused,
47765 .unused,47765 .unused,
47766 .unused,47766 .unused,
...@@ -47796,7 +47796,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -47796,7 +47796,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
47796 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },47796 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
47797 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },47797 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
47798 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },47798 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
47799 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },47799 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
47800 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },47800 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
47801 .unused,47801 .unused,
47802 .unused,47802 .unused,
...@@ -47832,7 +47832,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -47832,7 +47832,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
47832 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },47832 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
47833 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },47833 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
47834 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },47834 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
47835 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },47835 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
47836 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },47836 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
47837 .unused,47837 .unused,
47838 .unused,47838 .unused,
...@@ -47868,7 +47868,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -47868,7 +47868,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
47868 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },47868 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
47869 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },47869 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
47870 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },47870 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
47871 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },47871 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
47872 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },47872 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
47873 .unused,47873 .unused,
47874 .unused,47874 .unused,
...@@ -51926,7 +51926,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -51926,7 +51926,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
51926 },51926 },
51927 .call_frame = .{ .alignment = .@"16" },51927 .call_frame = .{ .alignment = .@"16" },
51928 .extra_temps = .{51928 .extra_temps = .{
51929 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },51929 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
51930 .unused,51930 .unused,
51931 .unused,51931 .unused,
51932 .unused,51932 .unused,
...@@ -51958,7 +51958,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -51958,7 +51958,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
51958 .extra_temps = .{51958 .extra_temps = .{
51959 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },51959 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
51960 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },51960 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
51961 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },51961 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
51962 .unused,51962 .unused,
51963 .unused,51963 .unused,
51964 .unused,51964 .unused,
...@@ -51991,7 +51991,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -51991,7 +51991,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
51991 .{ .type = .isize, .kind = .{ .rc = .general_purpose } },51991 .{ .type = .isize, .kind = .{ .rc = .general_purpose } },
51992 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },51992 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
51993 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },51993 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
51994 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },51994 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
51995 .unused,51995 .unused,
51996 .unused,51996 .unused,
51997 .unused,51997 .unused,
...@@ -52027,7 +52027,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -52027,7 +52027,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
52027 .{ .type = .isize, .kind = .{ .rc = .general_purpose } },52027 .{ .type = .isize, .kind = .{ .rc = .general_purpose } },
52028 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },52028 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
52029 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },52029 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
52030 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },52030 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
52031 .unused,52031 .unused,
52032 .unused,52032 .unused,
52033 .unused,52033 .unused,
...@@ -52063,7 +52063,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -52063,7 +52063,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
52063 .{ .type = .isize, .kind = .{ .rc = .general_purpose } },52063 .{ .type = .isize, .kind = .{ .rc = .general_purpose } },
52064 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },52064 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
52065 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },52065 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
52066 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },52066 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
52067 .unused,52067 .unused,
52068 .unused,52068 .unused,
52069 .unused,52069 .unused,
...@@ -52099,7 +52099,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -52099,7 +52099,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
52099 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },52099 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
52100 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },52100 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
52101 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },52101 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
52102 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },52102 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
52103 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },52103 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
52104 .unused,52104 .unused,
52105 .unused,52105 .unused,
...@@ -52135,7 +52135,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -52135,7 +52135,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
52135 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },52135 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
52136 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },52136 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
52137 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },52137 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
52138 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },52138 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
52139 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },52139 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
52140 .unused,52140 .unused,
52141 .unused,52141 .unused,
...@@ -52171,7 +52171,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -52171,7 +52171,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
52171 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },52171 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
52172 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },52172 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
52173 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },52173 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
52174 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },52174 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
52175 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },52175 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
52176 .unused,52176 .unused,
52177 .unused,52177 .unused,
...@@ -76457,7 +76457,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -76457,7 +76457,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
76457 },76457 },
76458 .call_frame = .{ .alignment = .@"16" },76458 .call_frame = .{ .alignment = .@"16" },
76459 .extra_temps = .{76459 .extra_temps = .{
76460 .{ .type = .usize, .kind = .{ .extern_func = "sqrtq" } },76460 .{ .type = .usize, .kind = .{ .extern_func = "sqrtf128" } },
76461 .unused,76461 .unused,
76462 .unused,76462 .unused,
76463 .unused,76463 .unused,
...@@ -76484,7 +76484,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -76484,7 +76484,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
76484 .call_frame = .{ .alignment = .@"16" },76484 .call_frame = .{ .alignment = .@"16" },
76485 .extra_temps = .{76485 .extra_temps = .{
76486 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },76486 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
76487 .{ .type = .usize, .kind = .{ .extern_func = "sqrtq" } },76487 .{ .type = .usize, .kind = .{ .extern_func = "sqrtf128" } },
76488 .unused,76488 .unused,
76489 .unused,76489 .unused,
76490 .unused,76490 .unused,
...@@ -76512,7 +76512,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -76512,7 +76512,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
76512 .extra_temps = .{76512 .extra_temps = .{
76513 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },76513 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
76514 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },76514 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
76515 .{ .type = .usize, .kind = .{ .extern_func = "sqrtq" } },76515 .{ .type = .usize, .kind = .{ .extern_func = "sqrtf128" } },
76516 .unused,76516 .unused,
76517 .unused,76517 .unused,
76518 .unused,76518 .unused,
...@@ -76543,7 +76543,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -76543,7 +76543,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
76543 .extra_temps = .{76543 .extra_temps = .{
76544 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },76544 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
76545 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },76545 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
76546 .{ .type = .usize, .kind = .{ .extern_func = "sqrtq" } },76546 .{ .type = .usize, .kind = .{ .extern_func = "sqrtf128" } },
76547 .unused,76547 .unused,
76548 .unused,76548 .unused,
76549 .unused,76549 .unused,
...@@ -76574,7 +76574,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -76574,7 +76574,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
76574 .extra_temps = .{76574 .extra_temps = .{
76575 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },76575 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
76576 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },76576 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
76577 .{ .type = .usize, .kind = .{ .extern_func = "sqrtq" } },76577 .{ .type = .usize, .kind = .{ .extern_func = "sqrtf128" } },
76578 .unused,76578 .unused,
76579 .unused,76579 .unused,
76580 .unused,76580 .unused,
...@@ -76605,7 +76605,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -76605,7 +76605,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
76605 .extra_temps = .{76605 .extra_temps = .{
76606 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },76606 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
76607 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },76607 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
76608 .{ .type = .usize, .kind = .{ .extern_func = "sqrtq" } },76608 .{ .type = .usize, .kind = .{ .extern_func = "sqrtf128" } },
76609 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },76609 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
76610 .unused,76610 .unused,
76611 .unused,76611 .unused,
...@@ -76636,7 +76636,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -76636,7 +76636,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
76636 .extra_temps = .{76636 .extra_temps = .{
76637 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },76637 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
76638 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },76638 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
76639 .{ .type = .usize, .kind = .{ .extern_func = "sqrtq" } },76639 .{ .type = .usize, .kind = .{ .extern_func = "sqrtf128" } },
76640 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },76640 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
76641 .unused,76641 .unused,
76642 .unused,76642 .unused,
...@@ -76667,7 +76667,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -76667,7 +76667,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
76667 .extra_temps = .{76667 .extra_temps = .{
76668 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },76668 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
76669 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },76669 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
76670 .{ .type = .usize, .kind = .{ .extern_func = "sqrtq" } },76670 .{ .type = .usize, .kind = .{ .extern_func = "sqrtf128" } },
76671 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },76671 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
76672 .unused,76672 .unused,
76673 .unused,76673 .unused,
...@@ -77306,7 +77306,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -77306,7 +77306,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
77306 },77306 },
77307 .call_frame = .{ .alignment = .@"16" },77307 .call_frame = .{ .alignment = .@"16" },
77308 .extra_temps = .{77308 .extra_temps = .{
77309 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "q" } },77309 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "f128" } },
77310 .unused,77310 .unused,
77311 .unused,77311 .unused,
77312 .unused,77312 .unused,
...@@ -77333,7 +77333,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -77333,7 +77333,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
77333 .call_frame = .{ .alignment = .@"16" },77333 .call_frame = .{ .alignment = .@"16" },
77334 .extra_temps = .{77334 .extra_temps = .{
77335 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },77335 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
77336 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "q" } },77336 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "f128" } },
77337 .unused,77337 .unused,
77338 .unused,77338 .unused,
77339 .unused,77339 .unused,
...@@ -77361,7 +77361,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -77361,7 +77361,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
77361 .extra_temps = .{77361 .extra_temps = .{
77362 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },77362 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
77363 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },77363 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
77364 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "q" } },77364 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "f128" } },
77365 .unused,77365 .unused,
77366 .unused,77366 .unused,
77367 .unused,77367 .unused,
...@@ -77392,7 +77392,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -77392,7 +77392,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
77392 .extra_temps = .{77392 .extra_temps = .{
77393 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },77393 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
77394 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },77394 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
77395 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "q" } },77395 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "f128" } },
77396 .unused,77396 .unused,
77397 .unused,77397 .unused,
77398 .unused,77398 .unused,
...@@ -77423,7 +77423,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -77423,7 +77423,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
77423 .extra_temps = .{77423 .extra_temps = .{
77424 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },77424 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
77425 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },77425 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
77426 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "q" } },77426 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "f128" } },
77427 .unused,77427 .unused,
77428 .unused,77428 .unused,
77429 .unused,77429 .unused,
...@@ -77454,7 +77454,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -77454,7 +77454,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
77454 .extra_temps = .{77454 .extra_temps = .{
77455 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },77455 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
77456 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },77456 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
77457 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "q" } },77457 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "f128" } },
77458 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },77458 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
77459 .unused,77459 .unused,
77460 .unused,77460 .unused,
...@@ -77485,7 +77485,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -77485,7 +77485,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
77485 .extra_temps = .{77485 .extra_temps = .{
77486 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },77486 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
77487 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },77487 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
77488 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "q" } },77488 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "f128" } },
77489 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },77489 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
77490 .unused,77490 .unused,
77491 .unused,77491 .unused,
...@@ -77516,7 +77516,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -77516,7 +77516,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
77516 .extra_temps = .{77516 .extra_temps = .{
77517 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },77517 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
77518 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },77518 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
77519 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "q" } },77519 .{ .type = .usize, .kind = .{ .extern_func = @tagName(name) ++ "f128" } },
77520 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },77520 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
77521 .unused,77521 .unused,
77522 .unused,77522 .unused,
...@@ -80155,9 +80155,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -80155,9 +80155,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
80155 .extra_temps = .{80155 .extra_temps = .{
80156 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {80156 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
80157 else => unreachable,80157 else => unreachable,
80158 .down => "floorq",80158 .down => "floorf128",
80159 .up => "ceilq",80159 .up => "ceilf128",
80160 .zero => "truncq",80160 .zero => "truncf128",
80161 } } },80161 } } },
80162 .unused,80162 .unused,
80163 .unused,80163 .unused,
...@@ -80187,9 +80187,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -80187,9 +80187,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
80187 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },80187 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
80188 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {80188 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
80189 else => unreachable,80189 else => unreachable,
80190 .down => "floorq",80190 .down => "floorf128",
80191 .up => "ceilq",80191 .up => "ceilf128",
80192 .zero => "truncq",80192 .zero => "truncf128",
80193 } } },80193 } } },
80194 .unused,80194 .unused,
80195 .unused,80195 .unused,
...@@ -80220,9 +80220,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -80220,9 +80220,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
80220 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },80220 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
80221 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {80221 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
80222 else => unreachable,80222 else => unreachable,
80223 .down => "floorq",80223 .down => "floorf128",
80224 .up => "ceilq",80224 .up => "ceilf128",
80225 .zero => "truncq",80225 .zero => "truncf128",
80226 } } },80226 } } },
80227 .unused,80227 .unused,
80228 .unused,80228 .unused,
...@@ -80256,9 +80256,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -80256,9 +80256,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
80256 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },80256 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
80257 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {80257 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
80258 else => unreachable,80258 else => unreachable,
80259 .down => "floorq",80259 .down => "floorf128",
80260 .up => "ceilq",80260 .up => "ceilf128",
80261 .zero => "truncq",80261 .zero => "truncf128",
80262 } } },80262 } } },
80263 .unused,80263 .unused,
80264 .unused,80264 .unused,
...@@ -80292,9 +80292,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -80292,9 +80292,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
80292 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },80292 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
80293 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {80293 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
80294 else => unreachable,80294 else => unreachable,
80295 .down => "floorq",80295 .down => "floorf128",
80296 .up => "ceilq",80296 .up => "ceilf128",
80297 .zero => "truncq",80297 .zero => "truncf128",
80298 } } },80298 } } },
80299 .unused,80299 .unused,
80300 .unused,80300 .unused,
...@@ -80328,9 +80328,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -80328,9 +80328,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
80328 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },80328 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
80329 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {80329 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
80330 else => unreachable,80330 else => unreachable,
80331 .down => "floorq",80331 .down => "floorf128",
80332 .up => "ceilq",80332 .up => "ceilf128",
80333 .zero => "truncq",80333 .zero => "truncf128",
80334 } } },80334 } } },
80335 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },80335 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
80336 .unused,80336 .unused,
...@@ -80364,9 +80364,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -80364,9 +80364,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
80364 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },80364 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
80365 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {80365 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
80366 else => unreachable,80366 else => unreachable,
80367 .down => "floorq",80367 .down => "floorf128",
80368 .up => "ceilq",80368 .up => "ceilf128",
80369 .zero => "truncq",80369 .zero => "truncf128",
80370 } } },80370 } } },
80371 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },80371 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
80372 .unused,80372 .unused,
...@@ -80400,9 +80400,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -80400,9 +80400,9 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
80400 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },80400 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
80401 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {80401 .{ .type = .usize, .kind = .{ .extern_func = switch (direction) {
80402 else => unreachable,80402 else => unreachable,
80403 .down => "floorq",80403 .down => "floorf128",
80404 .up => "ceilq",80404 .up => "ceilf128",
80405 .zero => "truncq",80405 .zero => "truncf128",
80406 } } },80406 } } },
80407 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },80407 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
80408 .unused,80408 .unused,
...@@ -142552,7 +142552,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -142552,7 +142552,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
142552 .extra_temps = .{142552 .extra_temps = .{
142553 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },142553 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
142554 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },142554 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
142555 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },142555 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
142556 .unused,142556 .unused,
142557 .unused,142557 .unused,
142558 .unused,142558 .unused,
...@@ -142584,7 +142584,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -142584,7 +142584,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
142584 .extra_temps = .{142584 .extra_temps = .{
142585 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },142585 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
142586 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },142586 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
142587 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },142587 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
142588 .unused,142588 .unused,
142589 .unused,142589 .unused,
142590 .unused,142590 .unused,
...@@ -142616,7 +142616,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -142616,7 +142616,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
142616 .extra_temps = .{142616 .extra_temps = .{
142617 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },142617 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
142618 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },142618 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
142619 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },142619 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
142620 .unused,142620 .unused,
142621 .unused,142621 .unused,
142622 .unused,142622 .unused,
...@@ -142649,7 +142649,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -142649,7 +142649,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
142649 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },142649 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
142650 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },142650 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
142651 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },142651 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
142652 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },142652 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
142653 .{ .type = .f128, .kind = .mem },142653 .{ .type = .f128, .kind = .mem },
142654 .unused,142654 .unused,
142655 .unused,142655 .unused,
...@@ -142683,7 +142683,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -142683,7 +142683,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
142683 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },142683 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
142684 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },142684 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
142685 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },142685 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
142686 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },142686 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
142687 .{ .type = .f128, .kind = .mem },142687 .{ .type = .f128, .kind = .mem },
142688 .unused,142688 .unused,
142689 .unused,142689 .unused,
...@@ -142717,7 +142717,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -142717,7 +142717,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
142717 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },142717 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
142718 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },142718 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
142719 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },142719 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
142720 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },142720 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
142721 .{ .type = .f128, .kind = .mem },142721 .{ .type = .f128, .kind = .mem },
142722 .unused,142722 .unused,
142723 .unused,142723 .unused,
...@@ -152785,7 +152785,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -152785,7 +152785,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
152785 .extra_temps = .{152785 .extra_temps = .{
152786 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },152786 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
152787 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },152787 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
152788 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },152788 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
152789 .unused,152789 .unused,
152790 .unused,152790 .unused,
152791 .unused,152791 .unused,
...@@ -152817,7 +152817,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -152817,7 +152817,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
152817 .extra_temps = .{152817 .extra_temps = .{
152818 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },152818 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
152819 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },152819 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
152820 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },152820 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
152821 .unused,152821 .unused,
152822 .unused,152822 .unused,
152823 .unused,152823 .unused,
...@@ -152849,7 +152849,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -152849,7 +152849,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
152849 .extra_temps = .{152849 .extra_temps = .{
152850 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },152850 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
152851 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },152851 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
152852 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },152852 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
152853 .unused,152853 .unused,
152854 .unused,152854 .unused,
152855 .unused,152855 .unused,
...@@ -152882,7 +152882,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -152882,7 +152882,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
152882 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },152882 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
152883 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },152883 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
152884 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },152884 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
152885 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },152885 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
152886 .{ .type = .f128, .kind = .mem },152886 .{ .type = .f128, .kind = .mem },
152887 .unused,152887 .unused,
152888 .unused,152888 .unused,
...@@ -152916,7 +152916,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -152916,7 +152916,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
152916 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },152916 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
152917 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },152917 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
152918 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },152918 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
152919 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },152919 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
152920 .{ .type = .f128, .kind = .mem },152920 .{ .type = .f128, .kind = .mem },
152921 .unused,152921 .unused,
152922 .unused,152922 .unused,
...@@ -152950,7 +152950,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -152950,7 +152950,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
152950 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },152950 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
152951 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },152951 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
152952 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },152952 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
152953 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },152953 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
152954 .{ .type = .f128, .kind = .mem },152954 .{ .type = .f128, .kind = .mem },
152955 .unused,152955 .unused,
152956 .unused,152956 .unused,
...@@ -163019,7 +163019,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -163019,7 +163019,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
163019 .extra_temps = .{163019 .extra_temps = .{
163020 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },163020 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
163021 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },163021 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
163022 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },163022 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
163023 .unused,163023 .unused,
163024 .unused,163024 .unused,
163025 .unused,163025 .unused,
...@@ -163051,7 +163051,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -163051,7 +163051,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
163051 .extra_temps = .{163051 .extra_temps = .{
163052 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },163052 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
163053 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },163053 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
163054 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },163054 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
163055 .unused,163055 .unused,
163056 .unused,163056 .unused,
163057 .unused,163057 .unused,
...@@ -163083,7 +163083,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -163083,7 +163083,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
163083 .extra_temps = .{163083 .extra_temps = .{
163084 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },163084 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
163085 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },163085 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
163086 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },163086 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
163087 .unused,163087 .unused,
163088 .unused,163088 .unused,
163089 .unused,163089 .unused,
...@@ -163116,7 +163116,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -163116,7 +163116,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
163116 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },163116 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
163117 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },163117 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
163118 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },163118 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
163119 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },163119 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
163120 .{ .type = .f128, .kind = .mem },163120 .{ .type = .f128, .kind = .mem },
163121 .unused,163121 .unused,
163122 .unused,163122 .unused,
...@@ -163150,7 +163150,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -163150,7 +163150,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
163150 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },163150 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
163151 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },163151 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
163152 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },163152 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
163153 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },163153 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
163154 .{ .type = .f128, .kind = .mem },163154 .{ .type = .f128, .kind = .mem },
163155 .unused,163155 .unused,
163156 .unused,163156 .unused,
...@@ -163184,7 +163184,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -163184,7 +163184,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
163184 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },163184 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
163185 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },163185 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
163186 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },163186 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
163187 .{ .type = .usize, .kind = .{ .extern_func = "fminq" } },163187 .{ .type = .usize, .kind = .{ .extern_func = "fminf128" } },
163188 .{ .type = .f128, .kind = .mem },163188 .{ .type = .f128, .kind = .mem },
163189 .unused,163189 .unused,
163190 .unused,163190 .unused,
...@@ -164816,7 +164816,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -164816,7 +164816,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
164816 .extra_temps = .{164816 .extra_temps = .{
164817 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },164817 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
164818 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },164818 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
164819 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },164819 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
164820 .unused,164820 .unused,
164821 .unused,164821 .unused,
164822 .unused,164822 .unused,
...@@ -164848,7 +164848,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -164848,7 +164848,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
164848 .extra_temps = .{164848 .extra_temps = .{
164849 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },164849 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
164850 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },164850 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
164851 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },164851 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
164852 .unused,164852 .unused,
164853 .unused,164853 .unused,
164854 .unused,164854 .unused,
...@@ -164880,7 +164880,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -164880,7 +164880,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
164880 .extra_temps = .{164880 .extra_temps = .{
164881 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },164881 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
164882 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },164882 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
164883 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },164883 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
164884 .unused,164884 .unused,
164885 .unused,164885 .unused,
164886 .unused,164886 .unused,
...@@ -164913,7 +164913,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -164913,7 +164913,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
164913 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },164913 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
164914 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },164914 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
164915 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },164915 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
164916 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },164916 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
164917 .{ .type = .f128, .kind = .mem },164917 .{ .type = .f128, .kind = .mem },
164918 .unused,164918 .unused,
164919 .unused,164919 .unused,
...@@ -164947,7 +164947,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -164947,7 +164947,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
164947 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },164947 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
164948 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },164948 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
164949 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },164949 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
164950 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },164950 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
164951 .{ .type = .f128, .kind = .mem },164951 .{ .type = .f128, .kind = .mem },
164952 .unused,164952 .unused,
164953 .unused,164953 .unused,
...@@ -164981,7 +164981,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -164981,7 +164981,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
164981 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },164981 .{ .type = .u32, .kind = .{ .rc = .general_purpose } },
164982 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },164982 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
164983 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },164983 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
164984 .{ .type = .usize, .kind = .{ .extern_func = "fmaxq" } },164984 .{ .type = .usize, .kind = .{ .extern_func = "fmaxf128" } },
164985 .{ .type = .f128, .kind = .mem },164985 .{ .type = .f128, .kind = .mem },
164986 .unused,164986 .unused,
164987 .unused,164987 .unused,
...@@ -172785,7 +172785,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -172785,7 +172785,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
172785 },172785 },
172786 .call_frame = .{ .alignment = .@"16" },172786 .call_frame = .{ .alignment = .@"16" },
172787 .extra_temps = .{172787 .extra_temps = .{
172788 .{ .type = .usize, .kind = .{ .extern_func = "fmaq" } },172788 .{ .type = .usize, .kind = .{ .extern_func = "fmaf128" } },
172789 .unused,172789 .unused,
172790 .unused,172790 .unused,
172791 .unused,172791 .unused,
...@@ -172818,7 +172818,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -172818,7 +172818,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
172818 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },172818 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
172819 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },172819 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
172820 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 2, .at = 2 } } },172820 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 2, .at = 2 } } },
172821 .{ .type = .usize, .kind = .{ .extern_func = "fmaq" } },172821 .{ .type = .usize, .kind = .{ .extern_func = "fmaf128" } },
172822 .unused,172822 .unused,
172823 .unused,172823 .unused,
172824 .unused,172824 .unused,
...@@ -172852,7 +172852,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -172852,7 +172852,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
172852 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },172852 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
172853 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },172853 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
172854 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 2, .at = 2 } } },172854 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 2, .at = 2 } } },
172855 .{ .type = .usize, .kind = .{ .extern_func = "fmaq" } },172855 .{ .type = .usize, .kind = .{ .extern_func = "fmaf128" } },
172856 .unused,172856 .unused,
172857 .unused,172857 .unused,
172858 .unused,172858 .unused,
...@@ -172889,7 +172889,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -172889,7 +172889,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
172889 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },172889 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
172890 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },172890 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
172891 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 2, .at = 2 } } },172891 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 2, .at = 2 } } },
172892 .{ .type = .usize, .kind = .{ .extern_func = "fmaq" } },172892 .{ .type = .usize, .kind = .{ .extern_func = "fmaf128" } },
172893 .unused,172893 .unused,
172894 .unused,172894 .unused,
172895 .unused,172895 .unused,
...@@ -172926,7 +172926,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -172926,7 +172926,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
172926 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },172926 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
172927 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },172927 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 1, .at = 1 } } },
172928 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 2, .at = 2 } } },172928 .{ .type = .f128, .kind = .{ .param_sse = .{ .cc = .ccc, .after = 2, .at = 2 } } },
172929 .{ .type = .usize, .kind = .{ .extern_func = "fmaq" } },172929 .{ .type = .usize, .kind = .{ .extern_func = "fmaf128" } },
172930 .unused,172930 .unused,
172931 .unused,172931 .unused,
172932 .unused,172932 .unused,
...@@ -172963,7 +172963,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -172963,7 +172963,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
172963 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },172963 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
172964 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },172964 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
172965 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 2, .at = 2 } } },172965 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 2, .at = 2 } } },
172966 .{ .type = .usize, .kind = .{ .extern_func = "fmaq" } },172966 .{ .type = .usize, .kind = .{ .extern_func = "fmaf128" } },
172967 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },172967 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
172968 .unused,172968 .unused,
172969 .unused,172969 .unused,
...@@ -173000,7 +173000,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -173000,7 +173000,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
173000 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },173000 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
173001 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },173001 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
173002 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 2, .at = 2 } } },173002 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 2, .at = 2 } } },
173003 .{ .type = .usize, .kind = .{ .extern_func = "fmaq" } },173003 .{ .type = .usize, .kind = .{ .extern_func = "fmaf128" } },
173004 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },173004 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
173005 .unused,173005 .unused,
173006 .unused,173006 .unused,
...@@ -173037,7 +173037,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {...@@ -173037,7 +173037,7 @@ fn genBody(cg: *CodeGen, body: []const Air.Inst.Index) InnerError!void {
173037 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },173037 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 0, .at = 0 } } },
173038 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },173038 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 1, .at = 1 } } },
173039 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 2, .at = 2 } } },173039 .{ .type = .usize, .kind = .{ .param_gpr = .{ .cc = .ccc, .after = 2, .at = 2 } } },
173040 .{ .type = .usize, .kind = .{ .extern_func = "fmaq" } },173040 .{ .type = .usize, .kind = .{ .extern_func = "fmaf128" } },
173041 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },173041 .{ .type = .f128, .kind = .{ .ret_sse = .{ .cc = .ccc, .after = 0, .at = 0 } } },
173042 .unused,173042 .unused,
173043 .unused,173043 .unused,
src/target.zig+1-1
...@@ -876,7 +876,7 @@ pub fn libcFloatSuffix(float_bits: u16) []const u8 {...@@ -876,7 +876,7 @@ pub fn libcFloatSuffix(float_bits: u16) []const u8 {
876 32 => "f",876 32 => "f",
877 64 => "",877 64 => "",
878 80 => "x", // Non-standard878 80 => "x", // Non-standard
879 128 => "q", // Non-standard (mimics convention in GCC libquadmath)879 128 => "f128",
880 else => unreachable,880 else => unreachable,
881 };881 };
882}882}
stage1/zig.h+1-1
...@@ -3835,7 +3835,7 @@ typedef zig_u128 zig_f80;...@@ -3835,7 +3835,7 @@ typedef zig_u128 zig_f80;
3835#endif3835#endif
38363836
3837#define zig_has_f128 13837#define zig_has_f128 1
3838#define zig_libc_name_f128(name) name##q3838#define zig_libc_name_f128(name) name##f128
3839#define zig_init_special_f128(sign, name, arg, repr) zig_make_special_f128(sign, name, arg, repr)3839#define zig_init_special_f128(sign, name, arg, repr) zig_make_special_f128(sign, name, arg, repr)
3840#if !zig_f128_has_miscompilations && FLT_MANT_DIG == 1133840#if !zig_f128_has_miscompilations && FLT_MANT_DIG == 113
3841typedef float zig_f128;3841typedef float zig_f128;
test/behavior/floatop.zig+1
...@@ -381,6 +381,7 @@ test "@sqrt f80/f128/c_longdouble" {...@@ -381,6 +381,7 @@ test "@sqrt f80/f128/c_longdouble" {
381 if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO381 if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
382 if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;382 if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
383 if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest;383 if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest;
384 if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest;
384385
385 if (builtin.os.tag == .freebsd) {386 if (builtin.os.tag == .freebsd) {
386 // TODO https://github.com/ziglang/zig/issues/10875387 // TODO https://github.com/ziglang/zig/issues/10875
test/behavior/x86_64/unary.zig+1-1
...@@ -56,7 +56,7 @@ fn unary(comptime op: anytype, comptime opts: struct {...@@ -56,7 +56,7 @@ fn unary(comptime op: anytype, comptime opts: struct {
56 f32 => libc_name ++ "f",56 f32 => libc_name ++ "f",
57 f64 => libc_name,57 f64 => libc_name,
58 f80 => "__" ++ libc_name ++ "x",58 f80 => "__" ++ libc_name ++ "x",
59 f128 => libc_name ++ "q",59 f128 => libc_name ++ "f128",
60 else => break :libc,60 else => break :libc,
61 },61 },
62 .library_name = switch (@import("builtin").object_format) {62 .library_name = switch (@import("builtin").object_format) {