Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Uncle George <gatgul@voicenet.com>
Subject: Re: floating point busted on 21164 ( 164LX ) ?
Date: Sat, 08 Nov 1997 06:51:31 -0500	[thread overview]
Message-ID: <3922c86301ccd62ab75726c6190cdaf7.axp-list@archive.invalid> (raw)

Looked at that - u should know that these bits controll whether or not the TRAPPED
FP errors should be returned back to the user as a SIGFPE.
That is all software FP traps. If u dont trap, these bits are meaningless.
They als do not controll the FPCR. on the 21064,  float errors are traped to the kern for
its disposition. with the new 21164, u can set the hardware to take care of most traps,
and
report the rite results without the kern ever knowing what happened.
1 of those traps was underflow, and the hardware choice was
either return 0.0, or a denormal. I just got the wrong ( not expected answer ) and wanted
to
know why.

Michal Jaegermann wrote:

> Uncle George wrote:
> >
> > Linux, the kern, does not care too much about the FPCR, and doesn't even bother with
> > the new bits in the FPCR that controll this behavior.
>
> Look what is in an include file named fpu.h.  A mentioned there function
> ieee_set_fp_control() should be in your library.
>
>   --mj
>
> p.s.  Can you write your postings on a somwhat narrower colum.  They
> are very unreadable.
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-11-08 11:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-08 11:51 Uncle George [this message]
     [not found] <346383F9.25160866@voicenet.com>
1997-11-08  6:30 ` floating point busted on 21164 ( 164LX ) ? Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
1997-11-07 21:11 Uncle George
1997-11-07 19:30 Wes Bauske
1997-11-06 19:38 Uncle George
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