mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 15:12:31 +00:00
compiler_rt: Export __truncdfhf2() for AEABI too.
Similar to __truncsfhf2() and __extendhfsf2().
This commit is contained in:
parent
75983c692f
commit
f1645772c1
@ -6,9 +6,8 @@ pub const panic = common.panic;
|
||||
comptime {
|
||||
if (common.want_aeabi) {
|
||||
@export(&__aeabi_d2h, .{ .name = "__aeabi_d2h", .linkage = common.linkage, .visibility = common.visibility });
|
||||
} else {
|
||||
@export(&__truncdfhf2, .{ .name = "__truncdfhf2", .linkage = common.linkage, .visibility = common.visibility });
|
||||
}
|
||||
@export(&__truncdfhf2, .{ .name = "__truncdfhf2", .linkage = common.linkage, .visibility = common.visibility });
|
||||
}
|
||||
|
||||
pub fn __truncdfhf2(a: f64) callconv(.C) common.F16T(f64) {
|
||||
|
Loading…
Reference in New Issue
Block a user