From: Richard Henderson <rth@twiddle.net>
To: qemu-devel@nongnu.org
Cc: Dmitry Poletaev <poletaev-qemu@yandex.ru>, peter.maydell@linaro.org
Subject: [Qemu-devel] [PULL 2/3] target-i386: fbld instruction doesn't set minus sign
Date: Sun, 14 Dec 2014 17:00:47 -0600 [thread overview]
Message-ID: <1418598048-21995-3-git-send-email-rth@twiddle.net> (raw)
In-Reply-To: <1418598048-21995-1-git-send-email-rth@twiddle.net>
From: Dmitry Poletaev <poletaev-qemu@yandex.ru>
Signed-off-by: Dmitry Poletaev <poletaev-qemu@yandex.ru>
Signed-off-by: Richard Henderson <rth@twiddle.net>
---
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 8768e1c..30d34d5 100644
--- a/target-i386/fpu_helper.c
+++ b/target-i386/fpu_helper.c
@@ -639,7 +639,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;
--
2.1.0
next prev parent reply other threads:[~2014-12-14 23:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-14 23:00 [Qemu-devel] [PULL 0/3] Collected target-i386 patches Richard Henderson
2014-12-14 23:00 ` [Qemu-devel] [PULL 1/3] target-i386: Wrong conversion infinity from float80 to int32/int64 Richard Henderson
2014-12-14 23:00 ` Richard Henderson [this message]
2014-12-14 23:00 ` [Qemu-devel] [PULL 3/3] target-i386: fix icount processing for repz instructions Richard Henderson
2014-12-15 12:17 ` [Qemu-devel] [PULL 0/3] Collected target-i386 patches Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1418598048-21995-3-git-send-email-rth@twiddle.net \
--to=rth@twiddle.net \
--cc=peter.maydell@linaro.org \
--cc=poletaev-qemu@yandex.ru \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).