This is the mail archive of the
mailing list for the GCC project.
Re: Does/will gcc support REAL(16) in Fortran?
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Jim Wilson <wilson at specifixinc dot com>
- Cc: "H. J. Lu" <hjl at lucon dot org>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 9 Jan 2004 16:38:24 -0500
- Subject: Re: Does/will gcc support REAL(16) in Fortran?
- References: <20040109000322.GA28363@lucon.org> <3FFF1DC1.firstname.lastname@example.org>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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.