projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea32aaf
)
target-i386: fbld instruction doesn't set minus sign
author
Dmitry Poletaev
<poletaev-qemu@yandex.ru>
Wed, 12 Nov 2014 07:53:45 +0000
(08:53 +0100)
committer
Richard Henderson
<rth@twiddle.net>
Sun, 14 Dec 2014 22:34:29 +0000
(16:34 -0600)
Signed-off-by: Dmitry Poletaev <poletaev-qemu@yandex.ru>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target-i386/fpu_helper.c
patch
|
blob
|
history
diff --git
a/target-i386/fpu_helper.c
b/target-i386/fpu_helper.c
index 8768e1cf2c4a9f0b19804d0bb13d444ba92d7cbc..30d34d5aee380809a8824a48cf6dcba12281a9b0 100644
(file)
--- 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;