This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: State of m68k float emulation in lb1sf68.asm (muldf, divdf)
- From: Paul Brook <paul at nowt dot org>
- To: <tm_gccmail at kloo dot net>, Jim Wilson <wilson at specifixinc dot com>
- Cc: Pavel Pisa <pisa at cmp dot felk dot cvut dot cz>, gcc at gcc dot gnu dot org
- Date: Mon, 17 Nov 2003 19:39:55 +0000
- Subject: Re: State of m68k float emulation in lb1sf68.asm (muldf, divdf)
- References: <Pine.LNX.4.21.0311171109470.26432-100000@mail.kloo.net>
On Monday 17 November 2003 7:16 pm, tm_gccmail@kloo.net wrote:
> > If you really want something better than fp-bit.c, then I would suggest
> > looking into GMP. You might need to do a m68k port of it. I don't see
> > any m68k code in the longlong.h file. This helps with the portability,
> > as you would define different longlong.h macros for different members
> > of the m68k family.
>
> GMP isn't IEEE754 compatible, iirc. It's an arbitrary precision bignum
> library, and therefore unsuitable for as an fp-bit.c replacement.
I believe it can be if you use the MPFR interfaces. I've never actually used
these ehough, so I can't guarantee this, or say how easy it is.
If you do get GMP into the gcc tree It'll save me a job - it's needed by
gfortran:)
Paul