This is the mail archive of the gcc-patches@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: Does/will gcc support REAL(16) in Fortran?


On Fri, Jan 09, 2004 at 01:31:45PM -0800, Jim Wilson wrote:
> Getting the quad-precision support working for ia32/ia64 linux means 
> that we will need libgcc library routines for quad-precision values, 
> since we do not have hardware support for them.  These could possibly 
> come from glibc if we only want this support to work under linux.
> 
> We will also need a full set of math library routines for quad-precision 
> values, and here it seems to get tricky, as we need two different sets 
> of long double routines depending on which long double type is being 
> used.  This implies we need two different copies of libc, and all other 
> libraries that use long doubles.  This could get messy.

glibc supports quad precision math routines (both in soft-fp and
sysdeps/ieee754/ldbl-128/), just the sources would need
s/long double/__float128/ for this purpose and change function names.

	Jakub


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