From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 28 Jan 2003 03:37:51 +0000 (GMT) Received: from p508B65B9.dip.t-dialin.net ([IPv6:::ffff:80.139.101.185]:56985 "EHLO dea.linux-mips.net") by linux-mips.org with ESMTP id ; Tue, 28 Jan 2003 03:37:51 +0000 Received: (from ralf@localhost) by dea.linux-mips.net (8.11.6/8.11.6) id h0S3biG25823; Tue, 28 Jan 2003 04:37:44 +0100 Date: Tue, 28 Jan 2003 04:37:44 +0100 From: Ralf Baechle To: Jun Sun Cc: linux-mips@linux-mips.org Subject: Re: when does do_fpe() get called? (or when does FPE happen?) Message-ID: <20030128043744.A24686@linux-mips.org> References: <20030127190423.U11633@mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030127190423.U11633@mvista.com>; from jsun@mvista.com on Mon, Jan 27, 2003 at 07:04:23PM -0800 Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 1239 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: ralf@linux-mips.org Precedence: bulk X-list: linux-mips On Mon, Jan 27, 2003 at 07:04:23PM -0800, Jun Sun wrote: > Can someone enlighten me a little? I am trying > to figure out what the FPU state should be (or can be) when > we are inside do_fpe() routine. Checkout the various flags in $fcr31. Whenever one of the enabled exceptions is triggered we get to handle_fpe via do_fpe. In addition the unimplemented exception can also result in invocation of do_fpe. Ralf