Question about soft-fp

Jakub Jelinek jakub@redhat.com
Mon Jan 10 06:58:00 GMT 2000


On Mon, Jan 10, 2000 at 03:37:43PM +0100, Andreas Jaeger wrote:
> 
> Since the soft-fp stuff is now in, how can I use it?  Which ports do
> benefit from it?  I'm interested in using the long double support for
> Mips.  Is this possible?

It's an IEEE software emulation framework, so everywhere you need software
math emulation of the basic operations (+,-,*,/,sqrt,comparisons) you can
use it.
If you want to support quad long doubles on mips, I'd first go into gcc and
hack support for that, because
[root@tucnak gcc]# grep LONG_DOUBLE_TYPE_SIZE config/mips/*.h
config/mips/mips.h:#define LONG_DOUBLE_TYPE_SIZE 64
[root@tucnak gcc]# 

I don't know what the MIPS ABI specifies about quad software emulation
functions and arguments, so you need to find that out and last hack up
soft-fp/sysdeps/mips Makefiles (and actual routines if the generic ones are
not what you want to use).

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.38 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________


More information about the Libc-hacker mailing list