On Tue, Jun 22, 2004 at 07:36:43AM +0000, manish regmi wrote: > > >> Will it be safe to do handwritten assembly floating point arth in > >kernel? > >> (i am using i386.) > > > >not normally, you will destroy userspace's floating point context unless > >you > >are really really careful. > >Just Say No(tm) > > Ok, i see. Floating point context is not backed up on every syscall. But > only during context switch. > I think we can save the floating point context before using Floating point > arth and restore it after finished using FP. it's tricky when you get to defered exceptions ... you need to preserve those too.
Attachment:
pgp00631.pgp
Description: PGP signature