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 Bet4
parent 47ecfc1b2c
commit f27c6fa655
2 changed files with 2 additions and 1 deletions

View File

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