lkml.org 
[lkml]   [1997]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: MMX performance....
   Date: 	Thu, 6 Feb 1997 17:36:51 +0200 (EET)
From: Hannu Savolainen <hannu@voxware.pp.fi>

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.

This issue was already hashed out. You must save and restore the fpu
around the memcpy using the FPU, and therefore you weight whether or
not to do the FPU based copy using the size of the area to memcopy.

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