public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug d/106832] New: Missing powerpc64le-linux support for D
@ 2022-09-05  7:33 jakub at gcc dot gnu.org
  2022-09-14 20:21 ` [Bug d/106832] " bergner at gcc dot gnu.org
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-09-05  7:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106832

            Bug ID: 106832
           Summary: Missing powerpc64le-linux support for D
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: d
          Assignee: ibuclaw at gdcproject dot org
          Reporter: jakub at gcc dot gnu.org
  Target Milestone: ---

When GCC is configured on powerpc64le-linux against glibc 2.26 or later (but in
theory also on older glibcs through libquadmath), there is full support for
IEEE 754 quad (on power8 in software, on power9 through hw support), so I don't
see why D shouldn't be supported in that case.
The current state is that for C/C++ and glibc 2.32 or later (at compile time,
not at GCC configure time) gcc supports both __ibm128 and __ieee128 types and
either of them can be made long double through -mabi=ibmlongdouble or
-mabi=ieeelongdouble switches, default selected at gcc configure time, same
libstdc++.so.6 supports both.
For Fortran (this one is GCC 12 and later only), real(kind=16) can be either
of the IBM extended format (non-IEEE) and IEEE 754 quad, again through
-mabi=ibmlongdouble or -mabi=ieeelongdouble and default selected at gcc
configure time.
On the glibc side, glibc 2.26 adds support for _Float128 (*f128 APIs),
strfromf128 isn't 100% printf replacement but good enough to implement e.g.
what libgfortran needs for IO with a wrapper.
glibc 2.32 adds alternate long double powerpc64le support through __*ieee128
APIs, this one is with full printf replacement.
And libquadmath can be used for older glibcs (*q APIs) as fallback.

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2022-09-17  4:46 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-05  7:33 [Bug d/106832] New: Missing powerpc64le-linux support for D jakub at gcc dot gnu.org
2022-09-14 20:21 ` [Bug d/106832] " bergner at gcc dot gnu.org
2022-09-14 20:32 ` jakub at gcc dot gnu.org
2022-09-14 20:32 ` dan at danny dot cz
2022-09-14 20:38 ` jakub at gcc dot gnu.org
2022-09-14 20:43 ` jakub at gcc dot gnu.org
2022-09-14 20:44 ` dan at danny dot cz
2022-09-14 20:46 ` jakub at gcc dot gnu.org
2022-09-14 21:10 ` bergner at gcc dot gnu.org
2022-09-14 21:13 ` bergner at gcc dot gnu.org
2022-09-14 21:28 ` ibuclaw at gdcproject dot org
2022-09-14 21:30 ` jakub at gcc dot gnu.org
2022-09-14 21:43 ` ibuclaw at gdcproject dot org
2022-09-14 21:56 ` bergner at gcc dot gnu.org
2022-09-14 23:44 ` bergner at gcc dot gnu.org
2022-09-15  4:20 ` ibuclaw at gcc dot gnu.org
2022-09-15  6:49 ` dan at danny dot cz
2022-09-15 13:54 ` bergner at gcc dot gnu.org
2022-09-15 13:56 ` kalevlember at gmail dot com
2022-09-16 18:35 ` bergner at gcc dot gnu.org
2022-09-17  0:03 ` bergner at gcc dot gnu.org
2022-09-17  0:12 ` bergner at gcc dot gnu.org
2022-09-17  2:16 ` bergner at gcc dot gnu.org
2022-09-17  2:23 ` bergner at gcc dot gnu.org
2022-09-17  4:37 ` ibuclaw at gdcproject dot org
2022-09-17  4:46 ` ibuclaw at gdcproject dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).