[Top] [All Lists]

Re: NON FPU cpus - way to go

To: Jun Sun <>
Subject: Re: NON FPU cpus - way to go
From: "Maciej W. Rozycki" <>
Date: Thu, 8 Feb 2001 11:13:55 +0100 (MET)
Cc: Alan Cox <>, Florian Lohoff <>,,
In-reply-to: <>
Organization: Technical University of Gdansk
On Wed, 7 Feb 2001, Jun Sun wrote:

> I favor the libc approach as it is faster.

 No difference in speed, actually.  In both cases you switch to the kernel
mode when an FPU-related exception happens and then back to the user mode,
either after or before invoking the handler.  The libc approach has the
advantage of running unprivileged. 

> Unfortunately I don't think glibc for MIPS can be configured with
> --without-fp.  I modified a patch to get glibc 2.0.6 working for no-fp config,
> but it is not a clean one.  Is anybody working on that for the latest glibc
> 2.2?

 You never want to configure glibc with the --without-fp option.

> Ironically for MIPS you MUST have the FPU emulater when the CPU actually has a
> FPU. :-)

 The same for Alpha.  You don't need a full emulator anyway -- most of it
can be left out for FPU-equipped systems.

+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>