authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-08-02 17:14:38-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-08-02 17:22:23-07:00
logaffe52b590621a69fe706daa22c753ba21752619
treec40c3503e3be49317a695872ebb7aa348cc6f3b7
parentdfecd819ceca861118d80c884614d3bf82eecd3e

compiler_rt: use standard f16 function names on x86

LLVM 15 started generating calls to the standard name now.

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

lib/compiler_rt/common.zig+7-1
......@@ -40,7 +40,13 @@ pub const want_windows_v2u64_abi = builtin.os.tag == .windows and builtin.cpu.ar
4040/// x86_64-windows-msvc => true
4141/// any-macos-any => false
4242pub const gnu_f16_abi = switch (builtin.cpu.arch) {
43 .wasm32, .wasm64, .riscv64, .riscv32 => false,
43 .wasm32,
44 .wasm64,
45 .riscv64,
46 .riscv32,
47 .i386,
48 .x86_64,
49 => false,
4450
4551 .arm, .armeb, .thumb, .thumbeb => switch (builtin.abi) {
4652 .eabi, .eabihf => false,