| To: | vagabon.xyz@gmail.com |
|---|---|
| Subject: | Re: [MIPS] Check FCSR for pending interrupts before restoring from a context. |
| From: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
| Date: | Fri, 09 Feb 2007 02:03:55 +0900 (JST) |
| Cc: | linux-mips@linux-mips.org, ralf@linux-mips.org, macro@linux-mips.org |
| In-reply-to: | <cda58cb80702080830n44627bafw88b0b6620eefb693@mail.gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20070208.120219.96684712.nemoto@toshiba-tops.co.jp> <20070209.002323.115905985.anemo@mba.ocn.ne.jp> <cda58cb80702080830n44627bafw88b0b6620eefb693@mail.gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Thu, 8 Feb 2007 17:30:29 +0100, "Franck Bui-Huu" <vagabon.xyz@gmail.com>
wrote:
> > unsigned int used_math;
> > @@ -112,7 +144,8 @@ restore_sigcontext(struct pt_regs *regs,
> > if (used_math()) {
>
> sorry for the stupid question but I don't know fpu code...Here
> used_math() function is used as condition whereas used_math local is
> already defined. Are we sure we want to use the function here ?
Well, used_math() returns condition which are set by preceeding
conditional_used_math(). In this case the condition is used_math :)
Maybe we can use the used_math variable here to optimize a bit.
---
Atsushi Nemoto
|
| Previous by Date: | Re: [MIPS] Check FCSR for pending interrupts before restoring from a context., Atsushi Nemoto |
|---|---|
| Next by Date: | Re: Advice needed., W.P. |
| Previous by Thread: | Re: [MIPS] Check FCSR for pending interrupts before restoring from a context., Atsushi Nemoto |
| Next by Thread: | Re: [PATCH 1/3] do_fpe() cleanup, Atsushi Nemoto |
| Indexes: | [Date] [Thread] [Top] [All Lists] |