Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jerry Feldman <gaf@zk3.dec.com>
Subject: Re: floating exception
Date: Wed, 14 Jan 98 08:29:09 -0500	[thread overview]
Message-ID: <9801141329.AA15812@sauron.zk3.dec.com> (raw)
In-Reply-To: <199801132125.WAA03288@stefan.sime.com>

Stefan Traby <stefan@sime.com>  wrote:
> 
> gcc handles NAN well under i387+ because FPU-exceptions on an intel
> can be masked. I don't know it, but your posting makes me think
> that masking is not possible on AXP, so this info-file is simply
> outdated because it depends on FPUs where exceptions may be masked.
> Is this assumption correct ?
> If it's correct  than "-mieee" means libm installs a SIGFPE handler itself and
> fakes errno, but without "-mieee", SIGFPE is passed to the app ?
> I'm in panic for now. If SIGFPE cannot be avoided at all
> (ok, it can, SIG_IGN, -mieee), fp-pthreads programming must be near to hell.)
This assumption is NOT correct. The Alpha has a fast floating point mode which is the default. The -mieee causes the compiler to generate floating point instructions with the /S modifier. It is generally the kernel that handles software completion, not the math library. 
+--------------------------------------------------------------------+
Jerry Feldman            Digital Unix Development Environment
Digital Equipment Corp.  (work)gaf@zk3.dec.com (home)gaf@mediaone.net
110 Spitbrook Rd.        Mailstop: ZKO3-2/W17
Nashua, NH 03062-9987    (603)884-2970, DTN:264-2970
+--------------------------------------------------------------------+
 

-- 
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

  parent reply	other threads:[~1998-01-14 13:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199801132125.WAA03288@stefan.sime.com>
1998-01-13 22:42 ` floating exception Michal Jaegermann
1998-01-14 13:29 ` Jerry Feldman [this message]
     [not found] <Pine.SOL.3.91.980114105358.14105A-100000@greco2>
1998-01-14 16:00 ` Michal Jaegermann
     [not found] <199801132242.PAA03608@ellpspace.math.ualberta.ca>
1998-01-14  9:58 ` Alessandro Mirone
1998-01-13 21:25 Stefan Traby
  -- strict thread matches above, loose matches on Subject: below --
1998-01-13 20:11 Richard Hadsell
1998-01-13 16:03 David Gilbert
1998-01-13 17:18 ` Jerry Feldman
     [not found] <34BB6FB0.1092A7A0@cogency.co.uk>
1998-01-13 15:24 ` Jerry Feldman
1998-01-13 15:09 Richard Hadsell
1998-01-13 13:44 David Alan Gilbert
     [not found] <Pine.SOL.3.91.980113105530.27582E-100000@greco2>
1998-01-13 13:25 ` Jerry Feldman
1998-01-13 11:00 Alessandro Mirone
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