Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 1997 14:49:12 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        kuku@gilberto.physik.RWTH-Aachen.DE (Christoph Kukulies)
Cc:        tlambert@primenet.com, kuku@gilberto.physik.RWTH-Aachen.DE, freebsd-hackers@freefall.FreeBSD.org
Subject:   Re: FPE problem
Message-ID:  <199709191449.HAA06306@usr07.primenet.com>
In-Reply-To: <19970919114704.51622@gil.physik.rwth-aachen.de> from "Christoph Kukulies" at Sep 19, 97 11:47:04 am

next in thread | previous in thread | raw e-mail | index | archive | help
> Now it's getting funny:
> 
> The exception only occurs on certain machines. I have a dynamically linked
> binary which I compiled on an around July -current 486 machine and it does
> *not* do a FPE there.
> 
> The machines where it occurs were built with 
> CFLAGS= -ffast-math -m486 -O2
> 
> That means that libm (or libmsun) were built with inline fpu instructions
> and this is causing the trouble.
> 
> I will rebuild the math libs with conservative switches now.

Ugh.  Clearly, there is something that needs to be corrected, and this
will gloss it over.

On the other hand, I understand not caring why it works, so long as it
works.  8-).

If you could isolate the functions where you get the errors to small
source files, and provide the compiler generated assembly output for
both cases, we might be able to make it work with the inlined code;
the speed improvement may or may not be worth the effort involved,
however.  8-(.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709191449.HAA06306>