This is the mail archive of the
mailing list for the GCC project.
Re: IEEE 128-bit floating point support for PowerPC RTEMS
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- Cc: GCC <gcc at gcc dot gnu dot org>
- Date: Tue, 24 Jan 2017 16:56:44 +0000
- Subject: Re: IEEE 128-bit floating point support for PowerPC RTEMS
- Authentication-results: sourceware.org; auth=none
- References: <58872DBD.firstname.lastname@example.org>
On Tue, 24 Jan 2017, Sebastian Huber wrote:
> I noticed some issues for RTEMS in this area. Firstly, RTEMS had no
> __powerpc__ builtin define, so some source files were effectively disabled,
> e.g. ibm-ldouble.c. With __powerpc__ defined, the ibm-ldouble.c didn't compile
> due to:
When you're using IEEE binary128, you should not be using ibm-ldouble.c.
It's needed for GNU/Linux because of the existing ABI, but if your
existing ABI does not use IBM long double, you should not introduce uses
> Is this supposed to work for 32-bit PowerPC. Did I miss some magic
> configuration switch?
I think the binary128 support for 32-bit PowerPC (using _q_* names for
library functions, and passing arguments by reference) dates back to
PowerPC Solaris, c. 1995, and is very likely to be bitrotten.
Joseph S. Myers