Include the MXCSR initial values, based on the AMD docs. This file

should really be renamed to fpu.h and npx.c to fpu.c since its part of
the core architecture on amd64 systems, not an isa 'numeric processor
extension'.
This commit is contained in:
peter 2003-05-09 18:28:05 +00:00
parent 9bc9519226
commit 31356c64a8
2 changed files with 4 additions and 0 deletions

View File

@ -95,6 +95,8 @@ struct savefpu {
* intermediate values are stored in memory or in FPU registers.
*/
#define __INITIAL_NPXCW__ 0x127F
#define __INITIAL_MXCSR__ 0x1F80
#define __INITIAL_MXCSR_MASK__ 0xFFBF
#ifdef _KERNEL
int npxdna(void);

View File

@ -95,6 +95,8 @@ struct savefpu {
* intermediate values are stored in memory or in FPU registers.
*/
#define __INITIAL_NPXCW__ 0x127F
#define __INITIAL_MXCSR__ 0x1F80
#define __INITIAL_MXCSR_MASK__ 0xFFBF
#ifdef _KERNEL
int npxdna(void);