mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-10-14 23:13:30 +00:00
target-i386: fbld instruction doesn't set minus sign
Signed-off-by: Dmitry Poletaev <poletaev-qemu@yandex.ru> Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
ea32aaf1a7
commit
18b41f95d2
|
@ -639,7 +639,7 @@ void helper_fbld_ST0(CPUX86State *env, target_ulong ptr)
|
||||||
}
|
}
|
||||||
tmp = int64_to_floatx80(val, &env->fp_status);
|
tmp = int64_to_floatx80(val, &env->fp_status);
|
||||||
if (cpu_ldub_data(env, ptr + 9) & 0x80) {
|
if (cpu_ldub_data(env, ptr + 9) & 0x80) {
|
||||||
floatx80_chs(tmp);
|
tmp = floatx80_chs(tmp);
|
||||||
}
|
}
|
||||||
fpush(env);
|
fpush(env);
|
||||||
ST0 = tmp;
|
ST0 = tmp;
|
||||||
|
|
Loading…
Reference in a new issue