Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Zoon <zoon974@yahoo.com>
To: linux-mips@fnet.fr, linux-mips@oss.sgi.com
Subject: Soft-Float emulation with gcc - pr3900
Date: Thu, 16 Aug 2001 09:04:04 +0100 (BST)	[thread overview]
Message-ID: <20010816080404.58868.qmail@web13402.mail.yahoo.com> (raw)
In-Reply-To: <Pine.GSO.3.96.1010814193527.5426C-100000@delta.ds2.pg.gda.pl>

Hello, 

Although this message is more about gcc, I post here,
since I got no answer from gcc mailing lists.

I use egcs-2.91.66(Algorithmics tools) configured as a
cross-compiler on a i386 host. I got the binary
version, so didn't configured it myself.

I'm working with a PR3900 type MIPS core. Those core
don't have a Floating Point Unit, nor floating point
registers.
When using -msoft-float, I am supposed to use the
libgcc soft floating point emulation. However, I
cannot prevent gcc from using fp registers.
When looking at gcc specs:

$ mips-linux-gcc -dumpspecs | grep r3900
..
%{m3900:-mips1 -mcpu=r3900 -mfp32 -mgp32}...

The option -mfp32 is defined as the default, which
means gcc assume 32 bit fp registers are available.

I am aware of two soft-float emulation libraries:
Gofast and libgcc. However I can't figure out how
emulation can be achieved if gcc keeps using fp
registers. 

I must miss something about it, could someone help me
with this matter ?

Many thanks,
Alain

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

  parent reply	other threads:[~2001-08-16  8:04 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-13 13:26 [patch] linux 2.4.5: Export mips_machtype Maciej W. Rozycki
2001-08-13 15:53 ` Ralf Baechle
2001-08-13 16:36   ` Maciej W. Rozycki
2001-08-13 18:27     ` Gleb O. Raiko
2001-08-14 17:43       ` Maciej W. Rozycki
2001-08-15 17:44         ` Keith M Wesolowski
2001-08-15 18:04           ` Ilya Volynets
2001-08-16  8:04         ` Zoon [this message]
2001-08-23 11:38         ` Gleb O. Raiko
2001-08-23 15:59           ` Maciej W. Rozycki
2001-08-23 17:05             ` Jun Sun
2001-08-23 17:31               ` Maciej W. Rozycki
2001-08-24  9:37                 ` Gleb O. Raiko
2001-08-24 15:57                   ` Maciej W. Rozycki
2001-08-24 17:23                   ` Jun Sun
2001-08-24  9:42             ` Gleb O. Raiko
2001-08-24 16:10               ` Maciej W. Rozycki
2001-08-13 19:39   ` Harald Koerfgen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010816080404.58868.qmail@web13402.mail.yahoo.com \
    --to=zoon974@yahoo.com \
    --cc=linux-mips@fnet.fr \
    --cc=linux-mips@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox