mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
compiler-rt: Always use f16 as the half type for riscv.
This commit is contained in:
parent
958f57d65d
commit
0941364d70
@ -103,7 +103,7 @@ pub fn F16T(comptime OtherType: type) type {
|
||||
else
|
||||
u16,
|
||||
.aarch64, .aarch64_be => f16,
|
||||
.riscv64 => if (builtin.zig_backend == .stage1) u16 else f16,
|
||||
.riscv32, .riscv64 => f16,
|
||||
.x86, .x86_64 => if (builtin.target.isDarwin()) switch (OtherType) {
|
||||
// Starting with LLVM 16, Darwin uses different abi for f16
|
||||
// depending on the type of the other return/argument..???
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user