Received: from eggs.gnu.org ([2001:4830:134:3::10]:53306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xpcer-0002rW-PA for qemu-devel@nongnu.org; Sat, 15 Nov 2014 07:40:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xpcel-0002mg-OC for qemu-devel@nongnu.org; Sat, 15 Nov 2014 07:40:53 -0500 Received: from indium.canonical.com ([91.189.90.7]:55824) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xpcel-0002mY-I9 for qemu-devel@nongnu.org; Sat, 15 Nov 2014 07:40:47 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1Xpcek-0007RJ-DL for ; Sat, 15 Nov 2014 12:40:46 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 618292E80C1 for ; Sat, 15 Nov 2014 12:40:46 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 15 Nov 2014 12:35:36 -0000 From: Stefan Weil <1248376@bugs.launchpad.net> Sender: bounces@canonical.com References: <20131106022317.24280.78729.malonedeb@gac.canonical.com> Message-Id: <20141115123537.16637.13204.launchpad@chaenomeles.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1248376] Re: "fstenv" gets the wrong result in qemu 1.6.1 Reply-To: Bug 1248376 <1248376@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org *** This bug is a duplicate of bug 661696 *** https://bugs.launchpad.net/bugs/661696 ** This bug has been marked a duplicate of bug 661696 incomplete emulation of fstenv under TCG -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1248376 Title: "fstenv" gets the wrong result in qemu 1.6.1 Status in QEMU: New Bug description: The float instruction "fstenv" gets the wrong result, when I tested it in QEMU 1.6.1. The detailed testing environments are: = 1)the QEMU's guest OS is 32-bit windows 7 professional.(version: 6.1.7600= ). = 2)the QEMU's host machine I used is 64-bit Fedora Core 13. = I used the following command line to compile QEMU 1.6.1: ./configure --target-list=3Di386-softmmu make = make install Then, I launched the QEMU guest with the following command: qemu-system-i386 xxx.img -m 1024M Here are some more details: 03FA0005 DAC7 fcmovb st,st(7) 03FA0007 D97424 F4 fstenv (28-byte) ptr ss:[esp-0= xC] 03FA000B 5B pop ebx 03FA000C 33C9 xor ecx,ecx when 0x03FA000B: pop ebx finished excuting, the value of ebx should be 0x03FA0005. But in QEMU 1.6.1+windows 7 pro(32 bit) which was described above, ebx's wrongly turned out to be 0x0! To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1248376/+subscriptions