Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2001 18:11:01 -0800 (PST)
From:      Richard Hodges <rh@matriplex.com>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Kernel area libmish stuff
Message-ID:  <Pine.BSF.4.10.10103091805250.62467-100000@mail.matriplex.com>
In-Reply-To: <200103100130.f2A1UQj39856@earth.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 9 Mar 2001, Matt Dillon wrote:

>     You can't safely do FP instructions in the kernel.  I do not 
>     believe the FP context is saved/restored between processes in kernel
>     mode, only from user mode.  The kernel saves and restores the fp state
>     in the few places it uses FP instructions (for memory copying).
>     In anycase, I think there'd be a problem here.

The last time I tried using FP in a device driver, it caused kernel
panics (I hate it when that happens...)

-Richard

-------------------------------------------
   Richard Hodges   | Matriplex, inc.
   Product Manager  | 769 Basque Way
  rh@matriplex.com  | Carson City, NV 89706
    775-886-6477    | www.matriplex.com 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10103091805250.62467-100000>