From 169ad1aac745857965db8fe7565aa45b8d8cea0f Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 4 Aug 2022 14:55:35 -0700 Subject: [PATCH] compiler_rt: update ABI for x86 float16 functions See https://github.com/llvm/llvm-project/issues/56854 for more details. --- lib/compiler_rt/common.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/compiler_rt/common.zig b/lib/compiler_rt/common.zig index d57c5b3656..ab3d169d1b 100644 --- a/lib/compiler_rt/common.zig +++ b/lib/compiler_rt/common.zig @@ -77,6 +77,7 @@ pub fn panic(msg: []const u8, error_return_trace: ?*std.builtin.StackTrace) nore pub const F16T = switch (builtin.cpu.arch) { .aarch64, .aarch64_be, .aarch64_32 => f16, .riscv64 => if (builtin.zig_backend == .stage1) u16 else f16, + .i386, .x86_64 => f16, else => u16, };