https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119244
--- Comment #9 from Iain Sandoe <iains at gcc dot gnu.org> --- Created attachment 60777 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60777&action=edit Initial patch (working on x86_64 darwin and linux) The relationship between the library and the FE remains unclear. However, we can configure the code to use the 'q' suffix and __float128 + libquadmath for support. This can be done without altering the Linux impl. NOTE: this does not attempt to add the configuration for the 3rd case (PPC64 ieee128) although it should be feasible to follow the pattern of libgfortran there. The patch is quite large, but the code changes are mechanical (applying macros for the 128b FP type and to allow for the different function suffixes). The only really substantial changes are in the configuration.