compiler_rt: Export __truncdfhf2() for AEABI too.

Similar to __truncsfhf2() and __extendhfsf2().
This commit is contained in:
Alex Rønne Petersen 2024-09-01 10:40:23 +02:00
parent 75983c692f
commit f1645772c1
No known key found for this signature in database

View File

@ -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) {