This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: Question about soft-fp


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)
___________________________________________________________________

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