mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 14:24:43 +00:00
This change also exposes some of the existing functions under both the PPC-style names symbols and the compiler-rt-style names, since Zig currently lowers softfloat calls to the latter.
12 lines
285 B
Zig
12 lines
285 B
Zig
const common = @import("./common.zig");
|
|
const addf3 = @import("./addf3.zig").addf3;
|
|
|
|
pub const panic = common.panic;
|
|
|
|
comptime {
|
|
@export(__addhf3, .{ .name = "__addhf3", .linkage = common.linkage });
|
|
}
|
|
|
|
fn __addhf3(a: f16, b: f16) callconv(.C) f16 {
|
|
return addf3(f16, a, b);
|
|
}
|