Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Uncle George <gatgul@voicenet.com>
To: axp-list@redhat.com
Subject: Re: compiling kernel 2.4.3
Date: Mon, 23 Apr 2001 14:52:18 -0400	[thread overview]
Message-ID: <3AE479E2.3F1E77A0@voicenet.com> (raw)
In-Reply-To: Pine.LNX.4.30.0104231409370.32509-100000@orion.chem.vt.edu

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




  reply	other threads:[~2001-04-23 18:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.30.0104231234270.30556-100000@orion.chem.vt.edu>
2001-04-23 17:59 ` compiling kernel 2.4.3 Uncle George
2001-04-23 18:11   ` T. Daniel Crawford
2001-04-23 18:52     ` Uncle George [this message]
2001-05-01  3:23       ` FP Exceptions T. Daniel Crawford
2001-05-01  5:30         ` Greg Lindahl
2001-05-01 10:56         ` Uncle George
2001-05-01 11:52           ` T. Daniel Crawford
2001-05-01 12:23             ` Uncle George
2001-05-01 12:26               ` T. Daniel Crawford
2001-05-01 13:03                 ` Uncle George
2001-05-02 12:10                 ` Uncle George
2001-04-22 15:17 compiling kernel 2.4.3 Ingo T. Storm
  -- strict thread matches above, loose matches on Subject: below --
2001-04-22 13:03 Kenneth Dunn
2001-04-22 13:00 ` John Jasen
2001-04-22 17:11 ` Michal Jaegermann
2001-04-23 15:02   ` Uncle George
2001-04-23 18:34     ` John Jasen
2001-04-23 18:50       ` T. Daniel Crawford
2001-04-23 18:54         ` Uncle George
2001-04-23 18:57           ` T. Daniel Crawford
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