From d525c598081ef2e6639135e9375f50199d74f726 Mon Sep 17 00:00:00 2001 From: Anubhab Ghosh Date: Sun, 24 Dec 2023 19:42:34 +0530 Subject: [PATCH] Enable gnu_f16_abi on x86_64 --- lib/compiler_rt/common.zig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/compiler_rt/common.zig b/lib/compiler_rt/common.zig index 8dd8e71dcd..ea588c0065 100644 --- a/lib/compiler_rt/common.zig +++ b/lib/compiler_rt/common.zig @@ -51,10 +51,9 @@ pub const gnu_f16_abi = switch (builtin.cpu.arch) { .wasm64, .riscv64, .riscv32, - .x86_64, => false, - .x86 => true, + .x86, .x86_64 => true, .arm, .armeb, .thumb, .thumbeb => switch (builtin.abi) { .eabi, .eabihf => false,