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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -73,3 +73,4 @@ Huitao Chen (chenhuitao) & KaiJern Lau (xwings): Cmake support
Huitao Chen (chenhuitao) & KaiJern Lau (xwings): Python3 support for building
Kevin Foo (chfl4gs): Travis-CI migration
Ziqiao Kong (lazymio): uc_context_free() API and various bug fix & improvement.
Sven Almgren (blindmatrix): bug fix

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)