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 Wemm 2003-05-09 18:28:05 +00:00
parent 14426b9c3b
commit 395e65aa29
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114859
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);