Subject: Re: Using Floating Point in kernel... is bad, okay?
To: David Laight <david@l8s.co.uk>
From: Juan RP <juan@xtrarom.org>
List: tech-kern
Date: 06/14/2007 23:49:40
On Thu, 14 Jun 2007 22:36:34 +0100
David Laight <david@l8s.co.uk> wrote:

> On Thu, Jun 14, 2007 at 02:11:12PM -0700, Bill Stouder-Studenmund
> wrote:
> > 
> > What probably happened was that the tool that used to query this
> > info used the FPU in userland, and wasn't performing an FP
> > computation across the call that requested information. Thus the
> > FPU (probably) was live, and application didn't notice that the FPU
> > registers changed values.
> 
> Could a DIAGNOSTIC kernel be set to fault on FP use in kernel ?

That would be nice. Bill you were right BTW, envsys does not fetch
sensor data at register time so the FP code wasn't being executed...
that's why the code has been working until now... thank envsys2
for catching those problems :-)

-- 
Juan Romero Pardines	- The NetBSD Project
http://plog.xtrarom.org/	- NetBSD/pkgsrc news in Spanish