From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id F3FC93EA06 for ; Wed, 9 Oct 2002 22:03:37 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id g9A23bE29388 for axp-list@listman.redhat.com; Wed, 9 Oct 2002 22:03:37 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g9A23bf29384 for ; Wed, 9 Oct 2002 22:03:37 -0400 Received: from mylaptop.gatworks.com (pool-68-161-19-37.ny325.east.verizon.net [68.161.19.37]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g9A1hlX01852 for ; Wed, 9 Oct 2002 21:43:47 -0400 Received: from voicenet.com (mylaptop.gatworks.com [127.0.0.1]) by mylaptop.gatworks.com (8.11.6/8.11.6) with ESMTP id g9A1xiM01413 for ; Wed, 9 Oct 2002 21:59:44 -0400 Message-ID: <3DA496CA.981C7FA3@voicenet.com> Date: Wed, 09 Oct 2002 16:51:22 -0400 From: Uncle George X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-3 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Open Office. References: <200210091914.g99JESW01812@evrtwa1-ar5-4-65-006-229.evrtwa1.dsl-verizon.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: 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.