zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 169ad1aac745857965db8fe7565aa45b8d8cea0f (tree)
parent ba70eee8bb81da0d44982a84395aee660635e5ba
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Thu,  4 Aug 2022 14:55:35 -0700

compiler_rt: update ABI for x86 float16 functions

See https://github.com/llvm/llvm-project/issues/56854 for more details.

Diffstat:
Mlib/compiler_rt/common.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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, };