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: State of m68k float emulation in lb1sf68.asm (muldf, divdf)


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


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