mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 21:40:49 +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);
|
||||
if (cpu_ldub_data(env, ptr + 9) & 0x80) {
|
||||
floatx80_chs(tmp);
|
||||
tmp = floatx80_chs(tmp);
|
||||
}
|
||||
fpush(env);
|
||||
ST0 = tmp;
|
||||
|
Loading…
Reference in New Issue
Block a user