Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Jun Sun <jsun@mvista.com>
Cc: linux-mips@linux-mips.org
Subject: Re: when does do_fpe() get called? (or when does FPE happen?)
Date: Tue, 28 Jan 2003 04:37:44 +0100	[thread overview]
Message-ID: <20030128043744.A24686@linux-mips.org> (raw)
In-Reply-To: <20030127190423.U11633@mvista.com>; from jsun@mvista.com on Mon, Jan 27, 2003 at 07:04:23PM -0800

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

  reply	other threads:[~2003-01-28  3:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-28  3:04 when does do_fpe() get called? (or when does FPE happen?) Jun Sun
2003-01-28  3:37 ` Ralf Baechle [this message]
2003-01-28 17:37   ` Jun Sun
2003-01-28 17:45     ` Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030128043744.A24686@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=jsun@mvista.com \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox