This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Providing alternative implementation for floating point related operations in GCC.
- From: Matthew Woehlke <mw_triad at users dot sourceforge dot net>
- To: sivang at chippc dot com
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 02 May 2008 19:35:00 -0500
- Subject: Re: Providing alternative implementation for floating point related operations in GCC.
- References: <1209572779.21831.55.camel@localhost>
- Reply-to: gcc-help at gcc dot gnu dot org
Sivan Greenberg wrote:
[snip long story about no FPU on MIPS and wanting to use software
instead of the kernel handling things via SIGILL.
Uh... it sounds like what you really want is to build with -msoft-float?
...from The Fine Manpage:
-msoft-float
Do not use floating-point coprocessor instructions.
Implement floating-point calculations using library calls
instead.
--
Matthew
First time I've gotten a programming job that required a drug test. I
was worried they were going to say 'you don't have enough LSD in your
system to do Unix programming'. -- Paul Tomblin (from cluefire.net)