From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 0DD352F9B0 for ; Mon, 23 Apr 2001 14:52:13 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f3NImxQ05712 for axp-list@listman.redhat.com; Mon, 23 Apr 2001 14:48:59 -0400 Received: from smtp7ve.mailsrvcs.net (smtp7vepub.gte.net [206.46.170.28]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f3NImxC05708 for ; Mon, 23 Apr 2001 14:48:59 -0400 Received: from voicenet.com (adsl-141-155-108-26.nyc.adsl.bellatlantic.net [141.155.108.26]) by smtp7ve.mailsrvcs.net (8.9.1/8.9.1) with ESMTP id TAA14233534 for ; Mon, 23 Apr 2001 19:00:48 GMT Message-ID: <3AE479E2.3F1E77A0@voicenet.com> Date: Mon, 23 Apr 2001 14:52:18 -0400 From: Uncle George X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.17-4 alpha) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: compiling kernel 2.4.3 References: 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: FP operations are pipelined, and are at various stages of execution. Without the -mieee ( gcc - "C" compile ) switch the FPU processes instructions till a trap occures, then Kaos happens The kernel does not know where exactly the failure occured. With -mieee the compiler places limits on the operations that can occure in the pipeline, and if a limit is exceeded, the compiler will place a pause ( trapb ) instruction till the FPU has been drained & ALL possible TRAPS have been processed. So long as things are in a proper sequence, the kernel kan attempt to fix the error. Because it know how to backtrace/backstep The problems I am having is with -mieee & a trap & not having the right number returned as a part of the fix-up. The numerical number will also happen with any compiler, as it is a kernel bug /gat "T. Daniel Crawford" wrote: > What about special compiler flags to handle these cases? I've seen in the > archives reference to -mieee, but this is not documented in the Compaq ccc > or fort man pages. I tried it with the Fortran compilation but the same > error occurs. > > -Daniel > > On Mon, 23 Apr 2001, Uncle George wrote: > > > What I have very little of is "influence". > > > > All ( most ) denormal processing is done via software inside the kernel, as the > > FPU cant handle the operations at all. An expensive (timewise) deal, but u get > > to continue with the algorithmic operations. > > > > The original problem was with a divide by a denorm. This appears to be fixed for > > the 2.4.3 kern > > > > the next problem was the conversion of a single precision denorm into a double > > This should always work, but comes out as zero. I had a fix, but didn't reach > > the rite folks > > > > After that was the conversion of a large float/double into an integer/long. It > > doesn't appear to up to ieee754 standards, but have no manual ( nor want to get > > it for $$$$ ) > > > > /gat > > > > If u got the numbers which look like fortran #'s ( :-} ) and can produce these > > nums( terms of the equation ) in hexadecimal, then one can play in "C" to see > > where the issue is. I no longer have a DU/true64 box to play with to see where > > the number diverge though :-/ > > > > -- > T. Daniel Crawford Department of Chemistry > crawdad@vt.edu Virginia Tech > www.chem.vt.edu/chem-dept/crawford Voice: 540-231-7760 FAX: 540-231-3255 > -------------------- > PGP Public Key at: http://www.chem.vt.edu/chem-dept/crawford/publickey.txt > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list