This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: IEEE 128-bit floating point support for PowerPC RTEMS


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 
of it.

> 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
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]