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:
Dmitry Poletaev 2014-11-12 08:53:45 +01:00 committed by Richard Henderson
parent ea32aaf1a7
commit 18b41f95d2

View File

@ -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;