Received: from eggs.gnu.org ([140.186.70.92]:36596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROpYI-0005VM-1J for qemu-devel@nongnu.org; Fri, 11 Nov 2011 06:45:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ROpYF-0005RB-IH for qemu-devel@nongnu.org; Fri, 11 Nov 2011 06:45:46 -0500 Received: from indium.canonical.com ([91.189.90.7]:60072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROpYF-0005Qw-Cd for qemu-devel@nongnu.org; Fri, 11 Nov 2011 06:45:43 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1ROpYE-0006Mj-Te for ; Fri, 11 Nov 2011 11:45:42 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id DFA5B2E8023 for ; Fri, 11 Nov 2011 11:45:42 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 11 Nov 2011 11:33:23 -0000 From: Daniil Troshkov <889053@bugs.launchpad.net> Sender: bounces@canonical.com References: <20111111113056.27744.44834.malonedeb@gac.canonical.com> Message-Id: <20111111113323.4527.58913.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 889053] Re: x86: FPU_MAX, FPU_MIN incorrect Reply-To: Bug 889053 <889053@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ** Attachment added: "patch" https://bugs.launchpad.net/qemu/+bug/889053/+attachment/2593058/+files/p= atch -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/889053 Title: x86: FPU_MAX, FPU_MIN incorrect Status in QEMU: New Bug description: Dear All, Bug was found in qemu.git. Now (0.15, 1.0) all fpu is softfpu. See target-i386/ops_sse.h: #define FPU_MIN(size, a, b) (a) < (b) ? (a) : (b) #define FPU_MAX(size, a, b) (a) > (b) ? (a) : (b) It is incorrect now, becouse float64 (or 32) is (typedef) uint64_t (or 32= ). And if we have signed operands we get error... There is a test with this error (spec shinx3 test data, results diffs on machine and qemu (linux)) and fixed patch. See attach. Daniil. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/889053/+subscriptions