Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@dot.cygnus.com>
Subject: Re: Ieee on linux/alpha
Date: Tue, 9 Dec 1997 03:15:50 -0800	[thread overview]
Message-ID: <b263e20bd18f45ca92a281f4514a46d8.axp-list@archive.invalid> (raw)
In-Reply-To: <m2hg8i4zyh.fsf@blinky.bfr.co.il>

On Tue, Dec 09, 1997 at 11:40:06AM +0200, Harvey J. Stein wrote:
> It seems that linux/alpha's default behavior is to signal a SIGFPE on
> divide by zero, whereas linux/intel's default behavior is to work with
> NANs, INFs & MINFs.

Yep, a mistake in RH4.2.

> What's the appropriate way to switch between these two behaviors?

   ieee_set_fp_control(0);

gets you to no exceptions signaled.  See <asm/fpu.h> for what to
put otherwise.

Performance should be about identical either way.

r~

-- 
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-12-09 11:15 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m2hg8i4zyh.fsf@blinky.bfr.co.il>
1997-12-09 11:15 ` Richard Henderson [this message]
1997-12-09 16:48 ` Ieee on linux/alpha Michal Jaegermann
1997-12-12 11:35 Uncle George
     [not found] <349105D1.76A0AEC6@voicenet.com>
1997-12-12  9:40 ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1997-12-12  9:37 Uncle George
     [not found] <348FA853.CDEE65B7@voicenet.com>
1997-12-11 17:33 ` Richard Henderson
1997-12-11  8:46 Uncle George
1997-12-11  0:59 Uncle George
     [not found] <m2n2i99tgs.fsf@blinky.bfr.co.il>
1997-12-10 17:54 ` Jerry Feldman
1997-12-10 16:42 khan
1997-12-10 15:57 Harvey J. Stein
1997-12-10 14:24 Uncle George
1997-12-10 14:17 Uncle George
1997-12-10 14:13 Harvey J. Stein
1997-12-10 14:07 Uncle George
1997-12-10 10:09 Harvey J. Stein
     [not found] <m27m9e4sou.fsf@blinky.bfr.co.il>
1997-12-09 17:02 ` Michal Jaegermann
1997-12-09 17:52 ` Richard Henderson
1997-12-09 12:17 Harvey J. Stein
1997-12-09  9:40 Harvey J. Stein
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