From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KkpUv-0001qU-73 for qemu-devel@nongnu.org; Tue, 30 Sep 2008 20:23:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KkpUs-0001qG-Rv for qemu-devel@nongnu.org; Tue, 30 Sep 2008 20:23:19 -0400 Received: from [199.232.76.173] (port=44450 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KkpUs-0001qD-MS for qemu-devel@nongnu.org; Tue, 30 Sep 2008 20:23:18 -0400 Received: from rv-out-0708.google.com ([209.85.198.249]:57189) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KkpUs-0006BY-B6 for qemu-devel@nongnu.org; Tue, 30 Sep 2008 20:23:18 -0400 Received: by rv-out-0708.google.com with SMTP id f25so285920rvb.22 for ; Tue, 30 Sep 2008 17:23:17 -0700 (PDT) Message-ID: Date: Wed, 1 Oct 2008 02:23:17 +0200 From: "andrzej zaborowski" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Qemu-devel] x86 mxcsr register Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel mailing list Hi, seemingly the various MMX/SSE floating point instruction should keep the fpu's state in the "mxcsr" register (for example rounding mode). Currently they use env->sse_status for that, but there's also env->mxcsr that appears to be unused except for ldmxcsr/stmxcsr. I don't know if I'm looking in the right places. Maybe the idea was that mxcsr should be synchronised to sse_status everytime mxcsr needs to be used directly? Cheers