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: Does/will gcc support REAL(16) in Fortran?


On Fri, Jan 09, 2004 at 09:18:06PM +0100, Toon Moene wrote:
> H. J. Lu wrote:
> 
> >Is REAL(16) supported in Fortran?
> 
> The language leaves this unspecified. If you mean: is it supported in 
> gfortran: not yet.
> 
> >I was told that most of Fortran
> >compilers use IEEE 128bit quad precision for REAL(16), even on IA32
> >and IA64 where 128bit quad precision is not supported by hardware.
> >I was wondering if/when gcc would support REAL(16) on IA32/IA64 and
> >what format would be used.
> 
> We could do that too, depending on the amount of (low-level) software 
> support for 128 bit IEEE floating point numbers.  The hard part will be 
> to write the formatted I/O routines for them.
> 

Since gcc 3.4 supports __float128 on ia32 ad ia64, I'd like to add the
__float128 I/O support to glibc for ia32 ad ia64. Will it help?

BTW, why is __float128 enabled only for MMX on ia32? Does __float128
use MMX?


H.J.


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