> > 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...)
>
> Seeing as the original requestor wanted to use FP functions to do number
> crunching in screen savers, would adding a few strategic FP save/restore
> calls in the syscons driver be enough to allow FP calculations in screen
> saver modules?

Please forget I ever said this. I took a look at what would be involved, and
it's wayyyy too deep for me to even begin about thinking about it.

--
Matt Emmerton


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to