X86 instruction FTST was incorrectly overwriting ST0 instead of FT0 (#1372)

* X86 instruction FTST was incorrectly overwriting ST0 instead of FT0

* credits update
This commit is contained in:
Sven Almgren
2021-05-08 12:45:14 +02:00
committed by GitHub
parent d664a838f7
commit 58c50c4be7
2 changed files with 2 additions and 1 deletions

View File

@ -540,7 +540,7 @@ void helper_fldz_FT0(CPUX86State *env)
{
//FT0 = floatx80_zero;
floatx80 zero = { 0x0000000000000000LL, 0x0000 };
ST0 = zero;
FT0 = zero;
}
uint32_t helper_fnstsw(CPUX86State *env)