mirror of
https://github.com/ziglang/zig.git
synced 2024-12-01 01:22:50 +00:00
compiler_rt: use standard f16 function names on x86
LLVM 15 started generating calls to the standard name now.
This commit is contained in:
parent
dfecd819ce
commit
affe52b590
@ -40,7 +40,13 @@ pub const want_windows_v2u64_abi = builtin.os.tag == .windows and builtin.cpu.ar
|
|||||||
/// x86_64-windows-msvc => true
|
/// x86_64-windows-msvc => true
|
||||||
/// any-macos-any => false
|
/// any-macos-any => false
|
||||||
pub const gnu_f16_abi = switch (builtin.cpu.arch) {
|
pub const gnu_f16_abi = switch (builtin.cpu.arch) {
|
||||||
.wasm32, .wasm64, .riscv64, .riscv32 => false,
|
.wasm32,
|
||||||
|
.wasm64,
|
||||||
|
.riscv64,
|
||||||
|
.riscv32,
|
||||||
|
.i386,
|
||||||
|
.x86_64,
|
||||||
|
=> false,
|
||||||
|
|
||||||
.arm, .armeb, .thumb, .thumbeb => switch (builtin.abi) {
|
.arm, .armeb, .thumb, .thumbeb => switch (builtin.abi) {
|
||||||
.eabi, .eabihf => false,
|
.eabi, .eabihf => false,
|
||||||
|
Loading…
Reference in New Issue
Block a user