NetBSD Problem Report #43781

From www@NetBSD.org  Thu Aug 19 05:33:05 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 8FBC563BC17
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 19 Aug 2010 05:33:05 +0000 (UTC)
Message-Id: <20100819053305.5854763BBEB@www.NetBSD.org>
Date: Thu, 19 Aug 2010 05:33:05 +0000 (UTC)
From: Dmitry.V.Shkurko@intel.com
Reply-To: Dmitry.V.Shkurko@intel.com
To: gnats-bugs@NetBSD.org
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
>Organization:
Intel
>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:/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

NetBSD Home
NetBSD PR Database Search

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