This is the mail archive of the
mailing list for the GCC project.
Re: support of 128 bit long real on linux for ia32
- From: Bo Thorsen <bo at sonofthor dot dk>
- To: steve at moshier dot net, Jakub Jelinek <jakub at redhat dot com>,<Winfrid dot Tschiedel at hpc dot fujitsu-siemens dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 13 Feb 2002 14:15:11 +0100
- Subject: Re: support of 128 bit long real on linux for ia32
- Organization: SuSE Labs
- References: <Pine.LNX.email@example.com>
On Wednesday 13 February 2002 14:07, Stephen L Moshier wrote:
> > Do plan to enhance your compiler in order to get
> > "long double" in C compatible with real(16) in fortran ?
> It was a straightforward job to implement the "long double"
> type in i386 gcc as 128-bit soft-float TFmode with 113-bit precision.
> I might still have the patches for that (though they would be about
> eight years old now).
> You cannot easily have both 80-bit and 128-bit support in gcc at the
> same time, however. I think you might have to implement
> a "long long double" which probably no one has done yet.
On x86-64 the ABI has both long double and float128 and they're both
sizeof()==16. This problem has not yet been solved - float128 and int128 are
optional in the ABI so we haven't thought much about it yet.
Bo Thorsen | Praestevejen 4
Free software developer | 5290 Marslev
SuSE Labs | Denmark