authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-09-01 10:40:23+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-09-10 08:53:30+02:00
logf1645772c1881a233ffcfc5072710040c4881deb
tree92e27a7e9edc258c27e989e695683e727904c6ac
parent75983c692fad81120a7c641a54c2eb90bc467def
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

compiler_rt: Export __truncdfhf2() for AEABI too.

Similar to __truncsfhf2() and __extendhfsf2().

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

lib/compiler_rt/truncdfhf2.zig+1-2
...@@ -6,9 +6,8 @@ pub const panic = common.panic;...@@ -6,9 +6,8 @@ pub const panic = common.panic;
6comptime {6comptime {
7 if (common.want_aeabi) {7 if (common.want_aeabi) {
8 @export(&__aeabi_d2h, .{ .name = "__aeabi_d2h", .linkage = common.linkage, .visibility = common.visibility });8 @export(&__aeabi_d2h, .{ .name = "__aeabi_d2h", .linkage = common.linkage, .visibility = common.visibility });
9 } else {
10 @export(&__truncdfhf2, .{ .name = "__truncdfhf2", .linkage = common.linkage, .visibility = common.visibility });
11 }9 }
10 @export(&__truncdfhf2, .{ .name = "__truncdfhf2", .linkage = common.linkage, .visibility = common.visibility });
12}11}
1312
14pub fn __truncdfhf2(a: f64) callconv(.C) common.F16T(f64) {13pub fn __truncdfhf2(a: f64) callconv(.C) common.F16T(f64) {