All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carsten Langgaard <carstenl@mips.com>
To: Atsushi Nemoto <nemoto@toshiba-tops.co.jp>
Cc: wgowcher@yahoo.com, linux-mips@oss.sgi.com
Subject: Re: Benchmark performance
Date: Thu, 16 Aug 2001 09:43:23 +0200	[thread overview]
Message-ID: <3B7B799B.BCFD1B5E@mips.com> (raw)
In-Reply-To: 20010816125652N.nemoto@toshiba-tops.co.jp

Atsushi Nemoto wrote:

> >>>>> On Mon, 13 Aug 2001 10:34:46 -0700 (PDT), Wayne Gowcher <wgowcher@yahoo.com> said:
> wgowcher> a 23 % reduction in the Floating Point Index benchmark
>
> Current CVS kernel uses FPU emulator unconditionally.  If one floating
> point intruction causes a 'Unimplemented' exception (denormalized
> result, etc.) following floating point instructions are also handle by
> FPU emulator (not only the instruction which raise the exception).

You got a point here, no need to emulate following floating point instructions, if one got
a real FPU.
But I think the check in the FP emulator should be a check if we got a real FPU, instead of
a counter.
We already has a flag for that in mips_cpu.options.
The check could be something like:

    if (mips_cpu.options & MIPS_CPU_FPU)
        break;



>
> I do not know this is really desired behavior, but here is a patch to
> change this.  If Unimplemented exception had been occured during the
> benchmark, aplying this patch may result better performance.
>
> ---
> Atsushi Nemoto
>
>   ------------------------------------------------------------------------
>                     Name: fpu_emu.patch
>    fpu_emu.patch    Type: Plain Text (Text/Plain)
>                 Encoding: 7bit

--
_    _ ____  ___   Carsten Langgaard   Mailto:carstenl@mips.com
|\  /|||___)(___   MIPS Denmark        Direct: +45 4486 5527
| \/ |||    ____)  Lautrupvang 4B      Switch: +45 4486 5555
  TECHNOLOGIES     2750 Ballerup       Fax...: +45 4486 5556
                   Denmark             http://www.mips.com

  reply	other threads:[~2001-08-16  7:45 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-09 15:35 Problem with PMAD-AA / DECStation 5000/200 Armin F. Gnosa
2001-08-09 15:35 ` Armin F. Gnosa
2001-08-09 15:51 ` Florian Lohoff
2001-08-09 16:20   ` Jan-Benedict Glaw
2001-08-09 16:22     ` Martin Schulze
2001-08-09 16:35       ` Jan-Benedict Glaw
2001-08-10  9:00         ` Maciej W. Rozycki
2001-08-10  9:10           ` Jan-Benedict Glaw
2001-08-10  9:11     ` Maciej W. Rozycki
2001-08-10 13:32       ` Armin F. Gnosa
2001-08-10 13:32         ` Armin F. Gnosa
2001-08-13 11:30         ` Maciej W. Rozycki
2001-08-10  0:29   ` Problems mounting RedHat 7.0 or 7.1 from oss.sgi site Wayne Gowcher
2001-08-10  4:55     ` H . J . Lu
2001-08-13 17:34       ` Benchmark performance Wayne Gowcher
2001-08-13 17:34         ` Wayne Gowcher
2001-08-14  7:51         ` Ralf Baechle
2001-08-14 15:29           ` Wayne Gowcher
2001-08-16  3:56         ` Atsushi Nemoto
2001-08-16  7:43           ` Carsten Langgaard [this message]
2001-08-16  9:11           ` Kevin D. Kissell
2001-08-16  9:11             ` Kevin D. Kissell
2001-08-16 11:06             ` Ralf Baechle
2001-08-16 11:15             ` Atsushi Nemoto
2001-08-16  9:18           ` Ralf Baechle
2001-08-16 11:07             ` Carsten Langgaard
2001-08-16 11:14               ` Ralf Baechle
2001-08-24  9:06                 ` Atsushi Nemoto
2001-08-24 18:27                   ` Ralf Baechle
2001-08-10  8:54   ` Problem with PMAD-AA / DECStation 5000/200 Armin F. Gnosa
2001-08-10  8:54     ` Armin F. Gnosa
2001-08-10 10:33     ` Florian Lohoff
2001-08-12 20:32       ` Ralf Baechle
2001-08-12 20:40         ` Armin F. Gnosa
2001-08-12 20:40           ` Armin F. Gnosa
2001-08-12 20:41         ` Jan-Benedict Glaw
2001-08-13  9:58           ` 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=3B7B799B.BCFD1B5E@mips.com \
    --to=carstenl@mips.com \
    --cc=linux-mips@oss.sgi.com \
    --cc=nemoto@toshiba-tops.co.jp \
    --cc=wgowcher@yahoo.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.