On 21/02/20 15:09, Chen Gang wrote: >> - /* XXX: test fptags too */ >> + if (env->fptags[env->fpstt]) { >> + env->fpus |= 0x4100; /* Empty */ >> + return; >> + } >> + > For fpop overflow, this fix is enough, but for me, we still need > foverflow to check fpush/fld*_ST0 overflow. > > Don't you think we need check fpush/f[i]ld*_ST0 overflow?
After fld/fild or any other push, FXAM ST0 should not return empty in my opinion. Paolo