authorgravatar for jacobly@ziglang.orgJacob Young <jacobly@ziglang.org> 2022-12-06 00:22:39-05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-12-06 12:27:28-07:00
logc4dc8515b6321828e1bfa404657f9a5f33aa1346
treeb7d66146d8a7348fe58f6e1382f77793b9472f15
parentc58ebfb1e17c071e2f05c8e047b8c0bb7d23497f

compiler_rt: don't use the llvm windows v2u64 abi with the C backend


1 files changed, 1 insertions(+), 1 deletions(-)

lib/compiler_rt/common.zig+1-1
......@@ -20,7 +20,7 @@ pub const want_ppc_abi = builtin.cpu.arch.isPPC() or builtin.cpu.arch.isPPC64();
2020
2121// Libcalls that involve u128 on Windows x86-64 are expected by LLVM to use the
2222// calling convention of @Vector(2, u64), rather than what's standard.
23pub const want_windows_v2u64_abi = builtin.os.tag == .windows and builtin.cpu.arch == .x86_64;
23pub const want_windows_v2u64_abi = builtin.os.tag == .windows and builtin.cpu.arch == .x86_64 and @import("builtin").object_format != .c;
2424
2525/// This governs whether to use these symbol names for f16/f32 conversions
2626/// rather than the standard names: