mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
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:
parent
14426b9c3b
commit
395e65aa29
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114859
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user