lkml.org 
[lkml]   [1997]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: MMX for kernel
   Date: Fri, 7 Feb 1997 20:56:51 -0500
From: "David S. Miller" <davem@jenolan.rutgers.edu>

I don't know, it seems to me the most sensible place to do all this is
indeed in the kernel when the user touches the fpu himself the first
time. We can provide whatever initial state is mandated on a
particular architecture.

This is in fact what we do now on the Sparc, provide a zero floating
point status register, and all fpu registers set to "all 1's"
(aka signaling NAN's).

David, you're right of course --- that's the right way to do things.
I'm not sure why it wasn't done that way on Intel platforms. Probably
due to historical reasons, the FPU registers were treated like the CPU
registers, and initialized as such, assuming that doing so was cheap.

- Ted

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