From owner-cvs-all Fri Mar 10 13:34:28 2000 Delivered-To: cvs-all@freebsd.org Received: from mailgw00.execpc.com (mailgw00.execpc.com [169.207.1.78]) by hub.freebsd.org (Postfix) with ESMTP id 02B8637B82C; Fri, 10 Mar 2000 13:34:14 -0800 (PST) (envelope-from rmukerji@execpc.com) Received: from earth.execpc.com (rmukerji@earth.execpc.com [169.207.16.1]) by mailgw00.execpc.com (8.9.1) id PAA03013; Fri, 10 Mar 2000 15:34:07 -0600 Received: (from rmukerji@localhost) by earth.execpc.com (8.9.0) id PAA00906; Fri, 10 Mar 2000 15:34:07 -0600 (CST) Date: Fri, 10 Mar 2000 15:34:07 -0600 From: Arindum Mukerji To: Alfred Perlstein Cc: Doug Rabson , Martin Cracauer , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/include npx.h Message-ID: <20000310153407.A23244@earth.execpc.com> References: <200003101756.JAA90710@freefall.freebsd.org> <20000310133936.B14279@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <20000310133936.B14279@fw.wintelcom.net> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Alfred Perlstein (bright@wintelcom.net) [000310 15:08]: > > On Fri, 10 Mar 2000, Martin Cracauer wrote: > > > > > Log: > > > Change the default FPU control word so that exceptions for new > > > processes are now masked until set by fpsetmask(3). > > > > Is there any reason for doing this other than so we can emulate > linux's bog^H^H^H nifty ability to divide by zero? > > What's the point of this except to mask obvious programming error? > > I'd really like to see this backed out. > In my understanding, the point of this is to make FreeBSD comply with the IEEE 754-1985 Standard. In particular, one line in this standard (Section 7 para 1) states: "The default response to an exception shall be to proceed without a trap." Though I've only recently started tracking the FreeBSD project, and am of more of a SysV kernel background, this would be my best guess as to why this was probably done. -- Arindum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message