public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: alain.vitry@netcourrier.com
To: gcc-help@gcc.gnu.org
Subject: MIPS pr3900 floating point issue
Date: Wed, 08 Aug 2001 15:55:00 -0000	[thread overview]
Message-ID: <mnet2.997311311.25435.alain.vitry@netcourrier.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1636 bytes --]

Hello, 

I use egcs-2.91.66 configured as a croos-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 a command line option or a configuration flag, could someone help me with this matter ?

Thanks,
Alain
>
>------------------------------------------------------------
>NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
>Une gamme d'outils gratuits et performants à votre service.
>Web/Wap : www.netcourrier.com
>Téléphone/Fax : 08 92 69 00 21 (0,34 E TTC/min - 2,21 F TTC/min)
>Minitel: 3615 NETCOURRIER (0,15 E TTC/min - 1,00 F TTC/min)
>
>

------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Une gamme d'outils gratuits et performants à votre service.
Web/Wap : www.netcourrier.com
Téléphone/Fax : 08 92 69 00 21 (0,34 E TTC/min - 2,21 F TTC/min)
Minitel: 3615 NETCOURRIER (0,15 E TTC/min - 1,00 F TTC/min)

                 reply	other threads:[~2001-08-08 15:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=mnet2.997311311.25435.alain.vitry@netcourrier.com \
    --to=alain.vitry@netcourrier.com \
    --cc=gcc-help@gcc.gnu.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).