| ... | @@ -4,6 +4,9 @@ const truncf = @import("./truncf.zig").truncf; | ... | @@ -4,6 +4,9 @@ const truncf = @import("./truncf.zig").truncf; |
| 4 | | 4 | |
| 5 | comptime { | 5 | comptime { |
| 6 | symbol(&__trunctfhf2, "__trunctfhf2"); | 6 | symbol(&__trunctfhf2, "__trunctfhf2"); |
| | 7 | if (compiler_rt.want_ppc_abi) { |
| | 8 | symbol(&__trunctfhf2, "__trunckfhf2"); |
| | 9 | } |
| 7 | } | 10 | } |
| 8 | | 11 | |
| 9 | pub fn __trunctfhf2(a: f128) callconv(.c) compiler_rt.F16T(f128) { | 12 | pub fn __trunctfhf2(a: f128) callconv(.c) compiler_rt.F16T(f128) { |