Re: Intel floating-point initialization

H. Peter Anvin (hpa@transmeta.com)
19 May 1998 11:13:05 GMT


Followup to: <199805191032.GAA07993@jupiter.cs.uml.edu>
By author: "Albert D. Cahalan" <acahalan@cs.uml.edu>
In newsgroup: linux.dev.kernel

> > So, it is not correct to reinitialize the FPU in the new process.
> > At least the FPU control word should be copied from the parent process.
>
> No, I don't think so. Current loader code on i386 resets the FPU control
> word to something sane. Elimination of that reset code would make the
> "used FPU" process bit actually mean something like it does on the SPARC.
> It ought to save a tiny bit of space and help performance a tiny bit too.

fork != exec.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu