Received: from eggs.gnu.org ([2001:4830:134:3::10]:56657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAd3R-0005ub-FY for qemu-devel@nongnu.org; Fri, 25 Jul 2014 06:48:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XAd3J-0000kr-K6 for qemu-devel@nongnu.org; Fri, 25 Jul 2014 06:48:49 -0400 Received: from forward16.mail.yandex.net ([95.108.253.141]:42945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XAd3J-0000kW-9O for qemu-devel@nongnu.org; Fri, 25 Jul 2014 06:48:41 -0400 Received: from web29g.yandex.ru (web29g.yandex.ru [95.108.253.238]) by forward16.mail.yandex.net (Yandex) with ESMTP id 3BE9FD20D96 for ; Fri, 25 Jul 2014 14:48:38 +0400 (MSK) From: Dmitry Poletaev MIME-Version: 1.0 Message-Id: <3089981406285317@web29g.yandex.ru> Date: Fri, 25 Jul 2014 14:48:37 +0400 Content-Transfer-Encoding: 7bit Content-Type: text/plain Subject: [Qemu-devel] [PATCH] target-i386/fpu_helper.c: fbld instruction doesn't set minus sign List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Obviously, there is a misprint in function implementation. From: Dmitry Poletaev Signed-off-by: Dmitry Poletaev --- target-i386/fpu_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-i386/fpu_helper.c b/target-i386/fpu_helper.c index 1b2900d..be1e545 100644 --- a/target-i386/fpu_helper.c +++ b/target-i386/fpu_helper.c @@ -622,7 +622,7 @@ void helper_fbld_ST0(CPUX86State *env, target_ulong ptr) } tmp = int64_to_floatx80(val, &env->fp_status); if (cpu_ldub_data(env, ptr + 9) & 0x80) { - floatx80_chs(tmp); + tmp = floatx80_chs(tmp); } fpush(env); ST0 = tmp; -- 1.8.4.msysgit.0