From: Uncle George <gatgul@voicenet.com>
To: axp-list@redhat.com
Subject: Re: Open Office.
Date: Wed, 09 Oct 2002 16:51:22 -0400 [thread overview]
Message-ID: <3DA496CA.981C7FA3@voicenet.com> (raw)
In-Reply-To: 200210091914.g99JESW01812@evrtwa1-ar5-4-65-006-229.evrtwa1.dsl-verizon.net
What you see is still an illusion. The FP unit, handles a limited range of float operations. Anything outside of the 'norm' is passed to the OS as a FP exception by the FP hardware. The kernel then evaluates the failed instruction to see if it follows
the alpha/ieee/cc -mieee convention(s), or is just optimized for FP efficiency. If u use the -mieee switch the compiler emits (more) code that the kernel will recognize that it is being asked to substitute the lack of ieee hardware by kernel software.
for example, any de-normal number will cause a FP-hardware fault ( -mieee or not enabled ) which will throw a FP exception towards the kernel. With -mieee, the kernel recognizes that it is being asked to fix the fault by hand. Without -mieee you just get
the fault, because the kernel does not know how to 'backtrack' to the exact instruction in the instruction pipe-line.
"Robert M. Riches Jr." wrote:
> If I remember correctly, the case involved taking effectively
> log(exp(-610)) or exp(log(1e-610)) or something like that. (No,
> it did not involve taking a log() of a negative number.) Without
> the -mieee switch, the first operation produced a NAN, and the
> second operation threw an exception. With the switch, the test
> case does what one would expect, with no exception.
next prev parent reply other threads:[~2002-10-10 2:03 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-09 19:14 Open Office Robert M. Riches Jr.
2002-10-09 20:51 ` Uncle George [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-10-09 18:29 Donsbach, Jeff
2002-10-09 17:42 Robert M. Riches Jr.
2002-10-09 19:21 ` George France
2002-10-09 13:39 Hoover, Tony
2002-10-09 2:44 Robert M. Riches Jr.
2002-10-09 9:23 ` Joerg Bruehe
2002-10-09 15:07 ` Michal Jaegermann
2002-10-09 15:21 ` Falk Hueffner
2002-10-09 1:16 Alvin Starr
2002-10-10 2:25 ` Andrei A. Dergatchev
2002-10-10 21:07 ` alvin
2002-05-22 23:05 Robert M. Riches Jr.
2002-05-16 21:28 Apple snubs Alpha Processor Inc Kurt A. Ludwig
2002-05-16 22:27 ` Open Office Peter Watkinson
2002-05-22 22:46 ` Stephen Williams
2002-02-28 5:12 Robert M. Riches Jr.
2002-02-28 2:51 Collin Baillie
2002-02-28 14:34 ` James Fowler
2002-02-28 2:17 Collin Baillie
2002-02-28 2:17 ` Peter Petrakis
2002-02-28 9:09 ` Helge Kreutzmann
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox