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

@ -78,3 +78,4 @@ Kevin Foo (chfl4gs): Travis-CI migration
Simon Gorchakov: PowerPC target
Stuart Dootson (studoot): MSVC compatibility with PowerPC target support
Ziqiao Kong (lazymio): uc_context_free() API and various bug fix & improvement.
Sven Almgren (blindmatrix): bug fix

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)