NetBSD Problem Report #43781

From  Thu Aug 19 05:33:05 2010
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 8FBC563BC17
	for <>; Thu, 19 Aug 2010 05:33:05 +0000 (UTC)
Message-Id: <>
Date: Thu, 19 Aug 2010 05:33:05 +0000 (UTC)
Subject: The value of MXCSR does not always equal to __INITIAL_MXCSR__
X-Send-Pr-Version: www-1.0

>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
System: NetBSD nsticlxb388 5.1_RC2 NetBSD 5.1_RC2 (GENERIC) #0: Fri May 21 04:32:33 UTC 2010
1-RC2/i386/201005210534Z-obj/home/builds/ab/netbsd-5-1-RC2/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386

       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"

I was able to modify MXCSR in one process under GDB and obtain modified MXCSR in another process.

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

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.