mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-06-23 05:47:49 +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);
|
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