zig icon indicating copy to clipboard operation
zig copied to clipboard

compiler_rt: add PPC64 __fixkfti and __floattikf alias

Open matu3ba opened this issue 2 years ago • 1 comments
trafficstars

matu3ba avatar Jun 15 '23 21:06 matu3ba

~~Looks like "libgcc code is the abi", since I can not find __fixkfti and __floattikf in Power ISA TM Version 3.1B. Note, that this assumes long double is f128, which is in general not the case.~~

UPDATE: See also #16054.

TODO:

  • [x] ./deb/bin/zig build test-std -fqemu -Dtarget=powerpc-linux with target PR works
  • [x] tools/gen_stubs.zig:582 Adjust blacklisted_symbols.
  • [x] update upstream docs: https://github.com/matu3ba/matu3ba.github.io/blob/master/crt/crt_unofficial_zig_docs.md, https://github.com/matu3ba/matu3ba.github.io/blob/master/crt/crt_float_routines.md

matu3ba avatar Jun 15 '23 21:06 matu3ba

Great work!

andrewrk avatar Jun 17 '23 04:06 andrewrk

Thanks!

matu3ba avatar Jun 17 '23 07:06 matu3ba