diff options
| author | Jan Philipp Hafer <anon_1plus1equals3@mailbox.org> | 2023-06-15 23:06:45 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-06-16 23:37:50 -0700 |
| commit | f043071cdfb956ff16b1441c9d01ce43eea9fb7b (patch) | |
| tree | 04c944e1b2da68edb1e552b1113fb0c65dc92cd5 /tools | |
| parent | e95fc2023f90e8c257dbe0ed247f5245b69f48a4 (diff) | |
| download | zig-f043071cdfb956ff16b1441c9d01ce43eea9fb7b.tar.gz zig-f043071cdfb956ff16b1441c9d01ce43eea9fb7b.zip | |
compiler_rt: add missing PPC routines
Adds conditional exports
- __fixkfti
- __fixunskfti
- __floattikf
- __negkf2
- __mulkc3
- __divkc3
- __powikf2
and adjusts tools/gen_stubs.zig.
From https://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html:
"When long double transitions to __float128 on PowerPC in the future,
__ibm128 will remain for use in conversions between the two types."
Hence `__extendkftf2` and `__trunctfkf2` for conversion are superfluous
and only using f128 for `kf` routines is justified.
Closes #16057.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/gen_stubs.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/gen_stubs.zig b/tools/gen_stubs.zig index 95787b719a..5d6b0acbd6 100644 --- a/tools/gen_stubs.zig +++ b/tools/gen_stubs.zig @@ -703,6 +703,7 @@ const blacklisted_symbols = [_][]const u8{ "__fixdfti", "__fixkfdi", "__fixkfsi", + "__fixkfti", "__fixsfdi", "__fixsfsi", "__fixsfti", @@ -714,6 +715,7 @@ const blacklisted_symbols = [_][]const u8{ "__fixunsdfti", "__fixunskfdi", "__fixunskfsi", + "__fixunskfti", "__fixunssfdi", "__fixunssfsi", "__fixunssfti", @@ -737,6 +739,7 @@ const blacklisted_symbols = [_][]const u8{ "__floatsitf", "__floatsixf", "__floattidf", + "__floattikf", "__floattisf", "__floattitf", "__floattixf", @@ -802,6 +805,7 @@ const blacklisted_symbols = [_][]const u8{ "__muldc3", "__muldf3", "__muldi3", + "__mulkc3", "__mulkf3", "__mulodi4", "__mulosi4", @@ -835,6 +839,7 @@ const blacklisted_symbols = [_][]const u8{ "__popcountti2", "__powidf2", "__powihf2", + "__powikf2", "__powisf2", "__powitf2", "__powixf2", |
