Subject: Re: sun3 - msoft-float
To: Matthias Pfaller <>
From: David Brownlee <>
List: port-sun3
Date: 08/24/2001 11:03:32
On Fri, 24 Aug 2001, Matthias Pfaller wrote:

> In article <>,
> (Curt Sampson) writes:
> > (Summary: storing and reloading FPU state is expensive, and most code,
> > including the kernel, makes little to no use of the FPU. So it's
> > cheaper to do any floating point in the kernel in software than it is
> > to store/reload the FPU state with every entrance to the kernel.)
> As far as I remember using -msoftfloat isn't used to force the kernel to
> do floating point in software, but to give you a linktime error if you'd
> accidently use floating point inside the kernel.

	On some CPUs it also keeps the compiler from using floating
	point registers as workspace for speeding up some (non
	float) operations.

		David/absolute		-- No hype required --