mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-25 10:56:45 +00:00
target-i386: fbld instruction doesn't set minus sign
Backports commit 18b41f95d20ac6dbf918c73e704d4ca1fbc1a62f from qemu
This commit is contained in:
parent
fff0c621da
commit
fac60d226a
|
@ -654,7 +654,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 a new issue