NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-i386/43781: The value of MXCSR does not always equal to __INITIAL_MXCSR__



>Number:         43781
>Category:       port-i386
>Synopsis:       The value of MXCSR does not always equal to __INITIAL_MXCSR__
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 19 05:35:00 +0000 2010
>Originator:     Dmitry Shkurko
>Release:        NetBSD 5.1_RC2
>Organization:
Intel
>Environment:
>Environment:
System: NetBSD nsticlxb388 5.1_RC2 NetBSD 5.1_RC2 (GENERIC) #0: Fri May 21 
04:32:33 UTC 2010 builds%b8.netbsd.org@localhost:/home/builds/ab/netbsd-5-
1-RC2/i386/201005210534Z-obj/home/builds/ab/netbsd-5-1-RC2/src/sys/arch/i386/compile/GENERIC
 i386
Architecture: i386
Machine: i386


>Description:
       MXCSR_MASK field of the FXSAVE image is not initialized properly 
(en_rsvd3 field, file sys/arch/i386/include/npx.h)
       Please see "11.6.6 Guidelines for Writing to the MXCSR Register" in 
"Intel 64 and IA-32 Architectures Software Developers Manual Volume 1"

>How-To-Repeat:
I was able to modify MXCSR in one process under GDB and obtain modified MXCSR 
in another process.

Sorry for possibly duplicated report.
>Fix:
Please refer to the documentation for a description of correct MASK 
initialization



Home | Main Index | Thread Index | Old Index