lkml.org 
[lkml]   [1997]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: MMX performance....
Date
> Is it allowed to use FPU/MXX inside kernel? I recall that this is not
> possible since kernel doesn't save FPU state when swiching between kernel
> and user modes. Or am I just misunderstood this.

You can use FPU/MMX in kernel but you must save the CPU state and restore
it right including coping with the lazy saving, 386 late interrupt stuff,
exception handling from the past state occuring on the FSAVE and SMP
synchronization issues etc.

If you wanted to run one of these idiot new MMX sound cards I suspect
the way to do it would be to run the MMX driver as a kernel thread.

Alan


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.062 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site